Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 877fa70

Browse filesBrowse files
committed
Cleaned up alerts and logs
1 parent a04947e commit 877fa70
Copy full SHA for 877fa70

File tree

Expand file treeCollapse file tree

2 files changed

+2
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-3
lines changed
Open diff view settings
Collapse file

‎js/rtc-controller.js‎

Copy file name to clipboardExpand all lines: js/rtc-controller.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ var CONTROLLER = window.CONTROLLER = function(phone){
173173
if (idx != -1) userArray.splice(idx, 1)[0]; // User leaving
174174
} else { // New User added to stream/group
175175
if (idx == -1) { // Tell everyone in array of new user first, then add to array.
176-
alert(phone.oneway);
177176
if (!phone.oneway) publishCtrlAll("userJoin", session.number);
178177
userArray.push(session);
179178
}
@@ -222,7 +221,7 @@ var CONTROLLER = window.CONTROLLER = function(phone){
222221
callAuth(m.data);
223222
break;
224223
case "userJoin":
225-
if (phone.oneway){ alert("HERE"); add_to_stream(m.data); }// JOIN STREAM HERE!
224+
if (phone.oneway){ add_to_stream(m.data); }// JOIN STREAM HERE!
226225
else add_to_group(m.data);
227226
break;
228227
case "userLeave":
Collapse file

‎stream.html‎

Copy file name to clipboardExpand all lines: stream.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
oneway : true,
8888
broadcast : true
8989
});
90-
phone.debug(function(m){ console.log(m); })
90+
//phone.debug(function(m){ console.log(m); })
9191
var ctrl = window.ctrl = CONTROLLER(phone);
9292
ctrl.ready(function(){
9393
form.streamname.style.background="#55ff5b";

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.