Table of Contents

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 : EventArgs

Inheritance

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

frame Bitmap

The video frame as a Bitmap.

frameRate VideoFrameRate

The frame rate of the video stream.

updateData bool

A reference to a boolean value indicating whether the frame data has been updated.

timestamp TimeSpan

The timestamp of the video frame.

sourceStream VideoStreamType

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

Bitmap

FrameRate

Gets the frame rate of the video stream.

public VideoFrameRate FrameRate { get; }

Property Value

VideoFrameRate

SourceStream

Gets or sets the source stream type (e.g., Main video or Picture-in-Picture).

public VideoStreamType SourceStream { get; set; }

Property Value

VideoStreamType

Timestamp

Gets the timestamp of the video frame relative to the start of the stream.

public TimeSpan Timestamp { get; }

Property Value

TimeSpan

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; }

Property Value

bool