ericz 11 سال پیش
والد
کامیت
95bbd83485
1فایلهای تغییر یافته به همراه1 افزوده شده و 6 حذف شده
  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');