Example #1
0
 /// <summary>
 ///     Enables or disables streaming
 ///     This only affects certain types of streams where data
 ///     input is seperate from the polling rate.
 /// </summary>
 /// <param name="status">True to enable, false to disable</param>
 public void EnableStreaming(bool status = true)
 {
     if (_mediaConnection == null)
     {
         return;
     }
     if (status)
     {
         _mediaConnection.Enable();
     }
     else
     {
         _mediaConnection.Disable();
     }
 }