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
frameVideoFrameThe video frame.
timestampUslongThe timestamp in microseconds.
rotationVideoRotationThe frame rotation.
Properties
Frame
Gets the video frame.
public VideoFrame Frame { get; }
Property Value
Rotation
Gets the frame rotation.
public VideoRotation Rotation { get; }
Property Value
TimestampUs
Gets the timestamp in microseconds.
public long TimestampUs { get; }