Start() public method

public Start ( VideoChat videoChat, Action callback ) : void
videoChat VideoChat
callback Action
return void
Example #1
0
 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);
 }
Example #3
0
 public void StartLocalMedia(VideoChat videoChat, Action <string> callback)
 {
     LocalMedia = new LocalMedia();
     LocalMedia.Start(videoChat, callback);
 }
Example #4
0
 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)));
     }
 }