ソースを参照

fix #59, createOffer missing err callback

ericz 12 年 前
コミット
f999fc8036
3 ファイル変更6 行追加0 行削除
  1. 3 0
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 3 0
      lib/connectionmanager.js

+ 3 - 0
dist/peer.js

@@ -1836,6 +1836,9 @@ ConnectionManager.prototype._makeOffer = function() {
       self.emit('error', err);
       util.log('Failed to setLocalDescription, ', err);
     });
+  }, function(err) {
+    self.emit('error', err);
+    util.log('Failed to createOffer, ', err);
   });
 };
 

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/peer.min.js


+ 3 - 0
lib/connectionmanager.js

@@ -166,6 +166,9 @@ ConnectionManager.prototype._makeOffer = function() {
       self.emit('error', err);
       util.log('Failed to setLocalDescription, ', err);
     });
+  }, function(err) {
+    self.emit('error', err);
+    util.log('Failed to createOffer, ', err);
   });
 };
 

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません