|
@@ -107,14 +107,9 @@ export class Negotiator {
|
|
break;
|
|
break;
|
|
case "disconnected":
|
|
case "disconnected":
|
|
logger.log(
|
|
logger.log(
|
|
- "iceConnectionState is disconnected, closing connections to " +
|
|
|
|
|
|
+ "iceConnectionState changed to disconnected on the connection with " +
|
|
peerId
|
|
peerId
|
|
);
|
|
);
|
|
- this.connection.emit(
|
|
|
|
- ConnectionEventType.Error,
|
|
|
|
- new Error("Connection to " + peerId + " disconnected.")
|
|
|
|
- );
|
|
|
|
- this.connection.close();
|
|
|
|
break;
|
|
break;
|
|
case "completed":
|
|
case "completed":
|
|
peerConnection.onicecandidate = util.noop;
|
|
peerConnection.onicecandidate = util.noop;
|