src/Foundation/Media/Gimela.Media.Video.DirectShow/VideoCaptureDeviceVideoSource.cs
/// <summary>
/// Notifies clients about new frame.
/// </summary>
/// <param name="frame">New frame's image.</param>
/// <param name="timestamp">The timestamp.</param>
Notifies clients about new frame.
Notifies clients about new frame .
private void OnNewFrame(Bitmap frame, DateTime timestamp)
    {
      framesReceived++;
      if ((!stopEvent.WaitOne(0, false)) && (NewFrame != null))
        NewFrame(this, new NewFrameEventArgs(frame, timestamp));
    }
private void OnNewFrame ( Bitmap frame , DateTime timestamp ) { framesReceived ++ ; if ( ( ! stopEvent . WaitOne ( 0 , false ) ) && ( NewFrame != null ) ) NewFrame ( this , new NewFrameEventArgs ( frame , timestamp ) ) ; }
Notifies clients about new frame.
Notifies clients about new frame .
frame
Bitmap
New frame's image.
New frame ' s image .
timestamp
DateTime
None