Skip to content

Commit 23b32ec

Browse files
authored
Revert "Initiate full reconnect when peer connection transitions to f… (#1672)
1 parent e705c15 commit 23b32ec

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.changeset/short-dingos-cry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/room/RTCEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export default class RTCEngine extends (EventEmitter as new () => TypedEventEmit
455455
// on Safari, PeerConnection will switch to 'disconnected' during renegotiation
456456
if (this.pcState === PCState.Connected || this.pcState === PCState.Reconnecting) {
457457
this.pcState = PCState.Disconnected;
458-
this.fullReconnectOnNext = true;
458+
459459
this.handleDisconnect(
460460
'peerconnection failed',
461461
subscriberState === 'failed'

0 commit comments

Comments
 (0)