Table of Contents

Struct VideoFrameEvent

Namespace
LiveKit.Rtc
Assembly
LivekitRtc.dll

Represents a video frame received event.

public readonly struct VideoFrameEvent
Inherited Members

Constructors

VideoFrameEvent(VideoFrame, long, VideoRotation)

Initializes a new VideoFrameEvent.

public VideoFrameEvent(VideoFrame frame, long timestampUs, VideoRotation rotation)

Parameters

frame VideoFrame

The video frame.

timestampUs long

The timestamp in microseconds.

rotation VideoRotation

The frame rotation.

Properties

Frame

Gets the video frame.

public VideoFrame Frame { get; }

Property Value

VideoFrame

Rotation

Gets the frame rotation.

public VideoRotation Rotation { get; }

Property Value

VideoRotation

TimestampUs

Gets the timestamp in microseconds.

public long TimestampUs { get; }

Property Value

long