Browse Source

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 years ago
parent
commit
c65ccb0af5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/UI/videolayout/SmallVideo.js

+ 1
- 1
modules/UI/videolayout/SmallVideo.js View File

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

Loading…
Cancel
Save