|
|
@@ -922,7 +922,8 @@ var VideoLayout = {
|
|
922
|
922
|
let currentId = largeVideo.id;
|
|
923
|
923
|
|
|
924
|
924
|
if (!isOnLarge || forceUpdate) {
|
|
925
|
|
- if (id !== currentId) {
|
|
|
925
|
+ let videoType = this.getRemoteVideoType(id);
|
|
|
926
|
+ if (id !== currentId && videoType === VIDEO_CONTAINER_TYPE) {
|
|
926
|
927
|
eventEmitter.emit(UIEvents.SELECTED_ENDPOINT, id);
|
|
927
|
928
|
}
|
|
928
|
929
|
if (currentId) {
|
|
|
@@ -931,7 +932,6 @@ var VideoLayout = {
|
|
931
|
932
|
|
|
932
|
933
|
let smallVideo = this.getSmallVideo(id);
|
|
933
|
934
|
|
|
934
|
|
- let videoType = this.getRemoteVideoType(id);
|
|
935
|
935
|
largeVideo.updateLargeVideo(
|
|
936
|
936
|
id,
|
|
937
|
937
|
smallVideo.videoStream,
|