Commit cee92251 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix video freeze when toggling cameras during a call.

parent ac7582ed
......@@ -59,6 +59,7 @@ namespace Linphone.Views
public void OrientationChanged(object sender, Microsoft.Phone.Controls.OrientationChangedEventArgs e)
{
PageOrientation = e.Orientation;
Logger.Msg("[InCall] OrientationChanged");
if (IsVideoActive)
{
HideVideo();
......@@ -105,11 +106,10 @@ namespace Linphone.Views
/// </summary>
public void ToggleCameras()
{
Logger.Msg("[InCall] ToggleCameras");
HideVideo();
LinphoneManager.Instance.ToggleCameras();
if (LinphoneManager.Instance.LinphoneCore.SelfViewEnabled)
{
ShowLocalVideo();
}
ShowVideo();
}
private void ShowRemoteVideo()
......
linphone @ 0387cd47
Subproject commit 681a5834c51c2d7437eabe07b5046318587c60ac
Subproject commit 0387cd476b7f682b68ee37ced6e1cefc9eddb2da
mswp8vid @ 2e024439
Subproject commit 498b494573b7817ce0e61bb550603631924d9827
Subproject commit 2e0244398030b2fd57f0c1e86688537c6e00b944
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment