浏览代码

fix(filmstrip): do not show video for large video speaker in audio only

When in audio only, the video should not be shown and instead the
avatar should display.
master
Leonard Kim 7 年前
父节点
当前提交
c65ccb0af5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/UI/videolayout/SmallVideo.js

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

@@ -550,7 +550,7 @@ SmallVideo.prototype.isVideoPlayable = function() {
550 550
 SmallVideo.prototype.selectDisplayMode = function() {
551 551
     // Display name is always and only displayed when user is on the stage
552 552
     if (this.isCurrentlyOnLargeVideo()) {
553
-        return this.isVideoPlayable()
553
+        return this.isVideoPlayable() && !APP.conference.isAudioOnly()
554 554
             ? DISPLAY_BLACKNESS_WITH_NAME : DISPLAY_AVATAR_WITH_NAME;
555 555
     } else if (this.isVideoPlayable()
556 556
         && this.selectVideoElement().length

正在加载...
取消
保存