From 9fd4c2a132b98542436a123e67cd639cc961307a Mon Sep 17 00:00:00 2001 From: Muaz Khan Date: Sat, 11 Mar 2017 12:13:41 +0500 Subject: [PATCH] Fixed #352 --- demos/Audio-Conferencing.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/demos/Audio-Conferencing.html b/demos/Audio-Conferencing.html index a5493fe6..4f395726 100755 --- a/demos/Audio-Conferencing.html +++ b/demos/Audio-Conferencing.html @@ -110,9 +110,7 @@

Audio Conferencing using RTCMultiConnection

// ..................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 = '/'; @@ -131,7 +129,10 @@

Audio Conferencing using RTCMultiConnection

OfferToReceiveVideo: false }; - connection.mediaConstraints.video = false; + connection.mediaConstraints = { + audio: true, + video: false + }; connection.audiosContainer = document.getElementById('audios-container'); connection.onstream = function(event) {