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) {