ericz 12 lat temu
rodzic
commit
95bbd83485
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      examples/helloworldv.html

+ 1 - 6
examples/helloworldv.html

@@ -50,12 +50,7 @@
 
   });
   function call (name) {
-      mc = peer1.call(name, ls, {constraints: {
-    mandatory: {
-        OfferToReceiveAudio: false,
-        OfferToReceiveVideo: false
-    }
-}});
+      mc = peer1.call(name, ls);
       mc.on('stream', function(s){
         window.remote = s;
           z = $('<video></video>', {src: URL.createObjectURL(s), autoplay: true}).appendTo('body');