File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -85248,7 +85248,8 @@ RTCPeerConnection.prototype.onIceConnectionStateCallback = function() {
8524885248 this._startWaitingReconnectTimer();
8524985249 this.state = RTCPeerConnection.State.DISCONNECTED;
8525085250 connectionState = Helpers.SessionConnectionState.DISCONNECTED;
85251- } else if (newIceConnectionState === 'closed'){
85251+ } else if (newIceConnectionState === 'closed') {
85252+ this._clearWaitingReconnectTimer();
8525285253 this.state = RTCPeerConnection.State.CLOSED;
8525385254 connectionState = Helpers.SessionConnectionState.CLOSED;
8525485255 }
Original file line number Diff line number Diff line change 870870 $calleeStatus . text ( 'connected' ) ;
871871 }
872872
873- if ( connectionState === QB . webrtc . SessionConnectionState . DISCONNECTED ) {
873+ if ( connectionState === QB . webrtc . SessionConnectionState . DISCONNECTED ) {
874874 app . helpers . toggleRemoteVideoView ( userId , 'hide' ) ;
875875 $calleeStatus . text ( 'disconnected' ) ;
876876 }
Original file line number Diff line number Diff line change @@ -222,7 +222,8 @@ RTCPeerConnection.prototype.onIceConnectionStateCallback = function() {
222222 this . _startWaitingReconnectTimer ( ) ;
223223 this . state = RTCPeerConnection . State . DISCONNECTED ;
224224 connectionState = Helpers . SessionConnectionState . DISCONNECTED ;
225- } else if ( newIceConnectionState === 'closed' ) {
225+ } else if ( newIceConnectionState === 'closed' ) {
226+ this . _clearWaitingReconnectTimer ( ) ;
226227 this . state = RTCPeerConnection . State . CLOSED ;
227228 connectionState = Helpers . SessionConnectionState . CLOSED ;
228229 }
You can’t perform that action at this time.
0 commit comments