Michelle Bu 11 年之前
父節點
當前提交
14460acffe
共有 4 個文件被更改,包括 4 次插入10 次删除
  1. 2 5
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 0
      lib/adapter.js
  4. 1 5
      lib/util.js

+ 2 - 5
dist/peer.js

@@ -1023,6 +1023,7 @@ Reliable.prototype.onmessage = function(msg) {};
 exports.Reliable = Reliable;
 exports.RTCSessionDescription = window.mozRTCSessionDescription || window.RTCSessionDescription;
 exports.RTCPeerConnection = window.mozRTCPeerConnection || window.webkitRTCPeerConnection || window.RTCPeerConnection;
+exports.RTCIceCandidate = window.mozRTCIceCandidate || window.RTCIceCandidate;
 var defaultConfig = {'iceServers': [{ 'url': 'stun:stun.l.google.com:19302' }]};
 var util = {
   noop: function() {},
@@ -1185,11 +1186,7 @@ var util = {
         dc.close();
 
         return called;
-      })(),
-
-      // TODO(michelle): whether this browser can interop with a different
-      // browser. But the two browsers both have to support interop.
-      interop: false
+      })()
     };
   }()),
   //

File diff suppressed because it is too large
+ 0 - 0
dist/peer.min.js


+ 1 - 0
lib/adapter.js

@@ -1,2 +1,3 @@
 exports.RTCSessionDescription = window.mozRTCSessionDescription || window.RTCSessionDescription;
 exports.RTCPeerConnection = window.mozRTCPeerConnection || window.webkitRTCPeerConnection || window.RTCPeerConnection;
+exports.RTCIceCandidate = window.mozRTCIceCandidate || window.RTCIceCandidate;

+ 1 - 5
lib/util.js

@@ -160,11 +160,7 @@ var util = {
         dc.close();
 
         return called;
-      })(),
-
-      // TODO(michelle): whether this browser can interop with a different
-      // browser. But the two browsers both have to support interop.
-      interop: false
+      })()
     };
   }()),
   //

Some files were not shown because too many files changed in this diff