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.
This commit is contained in:
Leonard Kim 2018-06-22 13:25:54 -07:00 committed by Дамян Минков
parent f035861617
commit c65ccb0af5
1 changed files with 1 additions and 1 deletions

View File

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