Skip to content

Commit

Permalink
Fixed #352
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Mar 11, 2017
1 parent c3d8dd3 commit 9fd4c2a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions demos/Audio-Conferencing.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ <h1>Audio Conferencing using RTCMultiConnection</h1>
// ..................RTCMultiConnection Code.............
// ......................................................

var connection = new RTCMultiConnection({
useDefaultDevices: true
});
var connection = new RTCMultiConnection();

// by default, socket.io server is assumed to be deployed on your own URL
connection.socketURL = '/';
Expand All @@ -131,7 +129,10 @@ <h1>Audio Conferencing using RTCMultiConnection</h1>
OfferToReceiveVideo: false
};

connection.mediaConstraints.video = false;
connection.mediaConstraints = {
audio: true,
video: false
};

connection.audiosContainer = document.getElementById('audios-container');
connection.onstream = function(event) {
Expand Down

0 comments on commit 9fd4c2a

Please sign in to comment.