public void FlipCamera() { try { if (VideoCapturer != null) { var cameraId = VideoCapturer.CameraId.Equals(GetFrontCameraId()) ? GetBackCameraId() : GetFrontCameraId(); VideoCapturer.SwitchCamera(cameraId); } } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void FlipCamera() { VideoCapturer?.SwitchCamera(); }