|
|
@@ -166,7 +166,10 @@ var VideoLayout = (function (my) {
|
|
166
|
166
|
largeVideoState.newSrc = newSrc;
|
|
167
|
167
|
largeVideoState.isVisible = $('#largeVideo').is(':visible');
|
|
168
|
168
|
largeVideoState.isDesktop = isVideoSrcDesktop(jid);
|
|
169
|
|
- if(jid2Ssrc[largeVideoState.userJid]) {
|
|
|
169
|
+ if(jid2Ssrc[largeVideoState.userJid] ||
|
|
|
170
|
+ (connection && connection.emuc.myroomjid &&
|
|
|
171
|
+ largeVideoState.userJid == Strophe.getResourceFromJid(connection.emuc.myroomjid)))
|
|
|
172
|
+ {
|
|
170
|
173
|
largeVideoState.oldJid = largeVideoState.userJid;
|
|
171
|
174
|
}
|
|
172
|
175
|
else
|