Browse Source

disconnected may be a transient state

Jairo Caro-Accino 6 năm trước cách đây
mục cha
commit
9415f90c59
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      lib/negotiator.ts

+ 0 - 1
lib/negotiator.ts

@@ -164,7 +164,6 @@ Negotiator._setupListeners = function(connection, pc, pc_id) {
         util.log(
           "iceConnectionState is disconnected, closing connections to " + peerId
         );
-        connection.close();
         break;
       case "completed":
         pc.onicecandidate = util.noop;