Skip to content

Commit a30d672

Browse files
authored
Merge pull request #49 from nttcom/stabler
change case statement about IceConnectionState for improvement of sta…
2 parents 8191153 + ee40f0a commit a30d672

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

dist/peer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,6 @@ Negotiator._setupListeners = function(connection, pc, pc_id) {
556556

557557
pc.oniceconnectionstatechange = function() {
558558
switch (pc.iceConnectionState) {
559-
case 'disconnected':
560559
case 'failed':
561560
util.log('iceConnectionState is disconnected, closing connections to ' + peerId);
562561
connection.close();

0 commit comments

Comments
 (0)