Commit 8a4feed1 authored by Ghislain MARY's avatar Ghislain MARY

Really toggle cameras.

parent 250f96c5
......@@ -52,6 +52,12 @@ namespace Linphone.Views
}
}
public void ToggleCameras()
{
LinphoneManager.Instance.ToggleCameras();
ShowLocalVideo();
}
private void ShowRemoteVideo()
{
Int32 id = LinphoneManager.Instance.LinphoneCore.GetNativeVideoWindowId();
......
......@@ -591,7 +591,7 @@ namespace Linphone.Model
if (LinphoneCore.IsInCall())
{
LinphoneCall call = LinphoneCore.GetCurrentCall();
//LinphoneCore.UpdateCall(call, null);
LinphoneCore.UpdateCall(call, null);
}
}
}
......
......@@ -159,7 +159,7 @@ namespace Linphone.Views
private void camera_Click_1(object sender, RoutedEventArgs e)
{
LinphoneManager.Instance.ToggleCameras();
((InCallModel)ViewModel).ToggleCameras();
}
/// <summary>
......
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