public VideoCapturingEventArgs(VideoCapturingState state)
 {
     capturingState = state;
 }
        protected void OnVideoCapturingStateChanged(object sender, VideoCapturingEventArgs e)
        {
            //Set the video capturing state for later use within this class
              videoCapturingState = e.CapturingState;

              //Raise the event if there are subscribers
              if (VideoCapturingStateChanged != null)
            VideoCapturingStateChanged(sender, e);
        }