Skip to content

Commit

Permalink
Always restart publisher peerconnection if forceReset is set (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNovak authored Nov 10, 2023
1 parent 7953b20 commit 53787f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public class CallHealthMonitor(
* Will skip if we already tried to reconnect less than reconnectDebounceMs ms ago
*/
suspend fun reconnect(forceRestart: Boolean) {
if (reconnectInProgress) {
if (reconnectInProgress && !forceRestart) {
logger.d { "[reconnect] Reconnect already in progress - skipping" }
return
}
Expand Down

0 comments on commit 53787f8

Please sign in to comment.