소스 검색

av example

ericz 12 년 전
부모
커밋
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');