Skip to content

Commit

Permalink
Merge pull request #2880 from matrix-org/dbkr/revert_to_connecting
Browse files Browse the repository at this point in the history
Make calls go back to 'connecting' state when media lost
  • Loading branch information
dbkr authored Nov 15, 2022
2 parents f86f67f + 3f1c339 commit 45e19e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webrtc/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2104,6 +2104,7 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
logger.info(`Hanging up call ${this.callId} (ICE disconnected for too long)`);
this.hangup(CallErrorCode.IceFailed, false);
}, 30 * 1000);
this.setState(CallState.Connecting);
}

// In PTT mode, override feed status to muted when we lose connection to
Expand Down

0 comments on commit 45e19e5

Please sign in to comment.