浏览代码

fix(SmallVideo): computeDisplayModeInput

Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
j8
Hristo Terezov 4 年前
父节点
当前提交
e161cbc4bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/UI/videolayout/SmallVideo.js

+ 1
- 1
modules/UI/videolayout/SmallVideo.js 查看文件

@@ -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
 

正在加载...
取消
保存