Class VideoFrameBitmapEventArgs
- Namespace
- VisioForge.Core.Types.Events
- Assembly
- VisioForge.Core.dll
Provides data for video frame bitmap events, including the frame image, timestamp, and stream information.
public class VideoFrameBitmapEventArgs : EventArgsInheritance
Inherited Members
Constructors
VideoFrameBitmapEventArgs(Bitmap, VideoFrameRate, ref bool, TimeSpan, VideoStreamType)
Initializes a new instance of the VisioForge.Core.Types.Events.VideoFrameBitmapEventArgs class.
public VideoFrameBitmapEventArgs(Bitmap frame, VideoFrameRate frameRate, ref bool updateData, TimeSpan timestamp, VideoStreamType sourceStream = VideoStreamType.Main)Parameters
frameBitmap-
The video frame as a Bitmap.
frameRateVideoFrameRate-
The frame rate of the video stream.
updateDatabool-
A reference to a boolean value indicating whether the frame data has been updated.
timestampTimeSpan-
The timestamp of the video frame.
sourceStreamVideoStreamType-
The source stream type. Default is VisioForge.Core.Types.VideoStreamType.Main.
Properties
Frame
Gets the video frame as a Bitmap image.
public Bitmap Frame { get; }Property Value
FrameRate
Gets the frame rate of the video stream.
public VideoFrameRate FrameRate { get; }Property Value
SourceStream
Gets or sets the source stream type (e.g., Main video or Picture-in-Picture).
public VideoStreamType SourceStream { get; set; }Property Value
Timestamp
Gets the timestamp of the video frame relative to the start of the stream.
public TimeSpan Timestamp { get; }Property Value
UpdateData
Gets or sets a value indicating whether the frame data has been modified and should be updated in the processing pipeline.
public bool UpdateData { get; set; }