Skip to content

Commit

Permalink
Removed debugging changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leticia Choo authored and Leticia Choo committed Sep 8, 2016
1 parent a949e93 commit 740fa98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion source/jsx/loader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require.config({

paths: {
socketio: '//cdn.temasys.com.sg/libraries/socket.io-client/1.4.4/socket.io',
adapter: 'libs/adapter',
adapter: '//http://cdn.temasys.com.sg/adapterjs/0.13.3/adapter.screenshare',
skylink: '//cdn.temasys.com.sg/skylink/skylinkjs/0.6.14/skylink.debug',
// facebook: '//connect.facebook.net/en_US/all',
// twitter: '//platform.twitter.com/widgets',
Expand Down
12 changes: 3 additions & 9 deletions source/jsx/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,9 @@ define([
Configs.Skylink.apiMCUKey : Configs.Skylink.apiNoMCUKey,
defaultRoom: room
}, function() {
navigator.getUserMedia({
audio: true,
video: true
}, function (stream) {
window.console.log('Got stream', stream);
Skylink.sendStream(stream);
Skylink.joinRoom();
}, function (error) {
window.console.error('The error', error);
Skylink.joinRoom({
audio: true,
video: true
});
});
},
Expand Down

0 comments on commit 740fa98

Please sign in to comment.