Tries to work around a problem in the one-to-one call dialog which may display the local video bellow the remote video.

cusax-fix
Lyubomir Marinov 13 years ago
parent 6614838bc7
commit 0951e5bcbd

@ -1142,12 +1142,12 @@ private void updateViewFromModelInEventDispatchThread()
{
center.removeAll();
if (remoteVideo != null)
center.add(remoteVideo, VideoLayout.CENTER_REMOTE);
center.add(remoteVideo, VideoLayout.CENTER_REMOTE, -1);
this.remoteVideo = remoteVideo;
if (localVideo != null)
{
center.add(localVideo, VideoLayout.LOCAL);
center.add(localVideo, VideoLayout.LOCAL, -1);
if (closeLocalVisualComponentButton == null)
{
@ -1157,7 +1157,8 @@ private void updateViewFromModelInEventDispatchThread()
}
center.add(
closeLocalVisualComponentButton,
VideoLayout.CLOSE_LOCAL_BUTTON);
VideoLayout.CLOSE_LOCAL_BUTTON,
-1);
}
this.localVideo = localVideo;
}

Loading…
Cancel
Save