Example #1
0
 /**
  * Callback method that is called after the video mode has been stopped.
  *
  * @param result    the video capture result
  */
 private void OnStoppedVideoMode(MRC.VideoCapture.VideoCaptureResult result)
 {
     if (result.success)
     {
         this.CaptureStarted = false;
     }
     else
     {
         this.logger.Log("Failed to stop video mode.");
     }
 }
Example #2
0
 /**
  * Callback method that is called when the video has started recording.
  *
  * @param result    the result of the capturing
  */
 private void OnStartedRecordingVideo(MRC.VideoCapture.VideoCaptureResult result)
 {
     if (result.success)
     {
         this.logger.Log("Started video recording.");
         this.isRecording = true;
     }
     else
     {
         this.logger.Log("Failed to start video recording.");
     }
     this.tryStartRecording = false;
 }