Bladeren bron

fix(ParticipantConn...Status): bug in p2p status

When video track is frozen in P2P mode it should be INTERRUPTED instead
of INACTIVE.
dev1
paweldomas 8 jaren geleden
bovenliggende
commit
e0849fd57a
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      modules/connectivity/ParticipantConnectionStatus.js

+ 2
- 2
modules/connectivity/ParticipantConnectionStatus.js Bestand weergeven

@@ -142,7 +142,7 @@ export default class ParticipantConnectionStatusHandler {
142 142
 
143 143
     /**
144 144
      * In P2P mode we don't care about any values coming from the JVB and
145
-     * the connection status can be only active or inactive.
145
+     * the connection status can be only active or interrupted.
146 146
      * @param {boolean} isVideoMuted the user if video muted
147 147
      * @param {boolean} isVideoTrackFrozen true if the video track for
148 148
      * the remote user is currently frozen. If the current browser does not
@@ -159,7 +159,7 @@ export default class ParticipantConnectionStatusHandler {
159 159
 
160 160
         return isVideoMuted || !isVideoTrackFrozen
161 161
             ? ParticipantConnectionStatus.ACTIVE
162
-            : ParticipantConnectionStatus.INACTIVE;
162
+            : ParticipantConnectionStatus.INTERRUPTED;
163 163
     }
164 164
 
165 165
     /**

Laden…
Annuleren
Opslaan