Explorar el Código

onicecandidate removed after dc open

Michelle Bu hace 12 años
padre
commit
305dee4fc5
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 2 1
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 0
      lib/connection.js

+ 2 - 1
dist/peer.js

@@ -1,4 +1,4 @@
-/*! peerjs.js build:0.1.0, development. Copyright(c) 2013 Michelle Bu <michelle@michellebu.com> */
+/*! peerjs.js build:0.1.7, development. Copyright(c) 2013 Michelle Bu <michelle@michellebu.com> */
 (function(exports){
 var binaryFeatures = {};
 binaryFeatures.useBlobBuilder = (function(){
@@ -1536,6 +1536,7 @@ DataConnection.prototype._configureDataChannel = function() {
     util.log('Data channel connection success');
     self.open = true;
     self.emit('open');
+    self._pc.onicecandidate = null;
   };
   if (this._reliable) {
     this._reliable.onmessage = function(msg) {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/peer.min.js


+ 1 - 0
lib/connection.js

@@ -162,6 +162,7 @@ DataConnection.prototype._configureDataChannel = function() {
     util.log('Data channel connection success');
     self.open = true;
     self.emit('open');
+    self._pc.onicecandidate = null;
   };
   if (this._reliable) {
     this._reliable.onmessage = function(msg) {

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio