File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2174,6 +2174,7 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
2174
2174
// chrome doesn't implement any of the 'onstarted' events yet
2175
2175
if ( [ "connected" , "completed" ] . includes ( this . peerConn ?. iceConnectionState ?? "" ) ) {
2176
2176
clearTimeout ( this . iceDisconnectedTimeout ) ;
2177
+ this . iceDisconnectedTimeout = undefined ;
2177
2178
this . state = CallState . Connected ;
2178
2179
2179
2180
if ( ! this . callLengthInterval && ! this . callStartTime ) {
@@ -2546,6 +2547,10 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
2546
2547
clearTimeout ( this . inviteTimeout ) ;
2547
2548
this . inviteTimeout = undefined ;
2548
2549
}
2550
+ if ( this . iceDisconnectedTimeout !== undefined ) {
2551
+ clearTimeout ( this . iceDisconnectedTimeout ) ;
2552
+ this . iceDisconnectedTimeout = undefined ;
2553
+ }
2549
2554
if ( this . callLengthInterval ) {
2550
2555
clearInterval ( this . callLengthInterval ) ;
2551
2556
this . callLengthInterval = undefined ;
You can’t perform that action at this time.
0 commit comments