|
@@ -524,7 +524,9 @@ var VideoLayout = {
|
524
|
524
|
// since we don't want to switch to local video.
|
525
|
525
|
// Update the large video if the video source is already available,
|
526
|
526
|
// otherwise wait for the "videoactive.jingle" event.
|
527
|
|
- if (!focusedVideoResourceJid && remoteVideo.hasVideoStarted()) {
|
|
527
|
+ if (!focusedVideoResourceJid
|
|
528
|
+ && remoteVideo.hasVideoStarted()
|
|
529
|
+ && !this.getCurrentlyOnLargeContainer().stayOnStage()) {
|
528
|
530
|
this.updateLargeVideo(id);
|
529
|
531
|
}
|
530
|
532
|
},
|
|
@@ -889,6 +891,14 @@ var VideoLayout = {
|
889
|
891
|
return this.isLargeContainerTypeVisible(VideoContainerType);
|
890
|
892
|
},
|
891
|
893
|
|
|
894
|
+ /**
|
|
895
|
+ * @return {LargeContainer} the currently displayed container on large
|
|
896
|
+ * video.
|
|
897
|
+ */
|
|
898
|
+ getCurrentlyOnLargeContainer () {
|
|
899
|
+ return largeVideo.getContainer(largeVideo.state);
|
|
900
|
+ },
|
|
901
|
+
|
892
|
902
|
isCurrentlyOnLarge (id) {
|
893
|
903
|
return largeVideo && largeVideo.id === id;
|
894
|
904
|
},
|