fix(LargeVideoManager): hide video when avatar is displayed

This commit is contained in:
paweldomas 2016-09-24 10:18:17 -05:00
parent 0aea799b50
commit b8937e0349
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ export default class LargeVideoManager {
// but we still should show watermark // but we still should show watermark
if (isVideoMuted) { if (isVideoMuted) {
this.showWatermark(true); this.showWatermark(true);
promise = Promise.resolve(); // If the avatar is to be displayed the video should be hidden
promise = container.hide();
} else { } else {
promise = container.show(); promise = container.show();
} }