public void StartLocalMedia(MainPage videoWindow, Action <Exception> callback) { if (localMedia == null) { localMedia = new LocalMedia(); localMedia.Start(videoWindow, callback); } else { callback(new Exception(string.Format("Error starting local media. {0}", localMedia.LastStartException.Message))); } }
public void StartLocalMedia(VideoChat videoChat, Action<string> callback) { LocalMedia = new LocalMedia(); LocalMedia.Start(videoChat, callback); }
public void StartLocalMedia(VideoChat videoChat, Action <string> callback) { LocalMedia = new LocalMedia(); LocalMedia.Start(videoChat, callback); }
public void StartLocalMedia(MainPage videoWindow, Action<Exception> callback) { if (localMedia == null) { localMedia = new LocalMedia(); localMedia.Start(videoWindow, callback); } else { callback(new Exception(string.Format("Error starting local media. {0}", localMedia.LastStartException.Message))); } }