Ver código fonte

fix(SmallVideo): computeDisplayModeInput

Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
j8
Hristo Terezov 4 anos atrás
pai
commit
e161cbc4bd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      modules/UI/videolayout/SmallVideo.js

+ 1
- 1
modules/UI/videolayout/SmallVideo.js Ver arquivo

@@ -244,7 +244,7 @@ export default class SmallVideo {
244 244
             = isLocal ? getLocalVideoTrack(tracks) : getTrackByMediaTypeAndParticipant(tracks, MEDIA_TYPE.VIDEO, id);
245 245
 
246 246
         if (typeof participant !== 'undefined' && !participant.isFakeParticipant && !participant.local) {
247
-            isScreenSharing = typeof track !== 'undefined' && videoTrack?.videoType === 'desktop';
247
+            isScreenSharing = videoTrack?.videoType === 'desktop';
248 248
             connectionStatus = participant.connectionStatus;
249 249
         }
250 250
 

Carregando…
Cancelar
Salvar