|
|
@@ -312,7 +312,14 @@ export default class ParticipantConnectionStatus {
|
|
312
|
312
|
|
|
313
|
313
|
const isConnectionActive = participant.isConnectionActive();
|
|
314
|
314
|
const hasAnyVideoRTCMuted = participant.hasAnyVideoTrackWebRTCMuted();
|
|
315
|
|
- const isConnActiveByJvb = this.rtcConnStatusCache[endpointId];
|
|
|
315
|
+ let isConnActiveByJvb = this.rtcConnStatusCache[endpointId];
|
|
|
316
|
+
|
|
|
317
|
+ // If no status was received from the JVB it means that it's active
|
|
|
318
|
+ // (the bridge does not send notification unless there is a problem).
|
|
|
319
|
+ if (typeof isConnActiveByJvb !== 'boolean') {
|
|
|
320
|
+ logger.debug("Assuming connection active by JVB - no notification");
|
|
|
321
|
+ isConnActiveByJvb = true;
|
|
|
322
|
+ }
|
|
316
|
323
|
|
|
317
|
324
|
logger.debug(
|
|
318
|
325
|
"Remote track removed, is active: " + isConnectionActive
|