Table of Contents

Class VideoFrameReceived

Namespace
LiveKit.Proto
public sealed class VideoFrameReceived : Google.Protobuf.IMessage<VideoFrameReceived>, Google.Protobuf.IBufferMessage
Inheritance
VideoFrameReceived
Implements
IBufferMessage
Extension Methods

Constructors

VideoFrameReceived()

public VideoFrameReceived()

VideoFrameReceived(VideoFrameReceived)

public VideoFrameReceived(VideoFrameReceived other)

Parameters

other VideoFrameReceived

Fields

BufferFieldNumber

Field number for the "buffer" field.

public const int BufferFieldNumber = 1

Field Value

int

RotationFieldNumber

Field number for the "rotation" field.

public const int RotationFieldNumber = 3

Field Value

int

TimestampUsFieldNumber

Field number for the "timestamp_us" field.

public const int TimestampUsFieldNumber = 2

Field Value

int

Properties

Buffer

public OwnedVideoBuffer Buffer { get; set; }

Property Value

OwnedVideoBuffer

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasRotation

Gets whether the "rotation" field is set

public bool HasRotation { get; }

Property Value

bool

HasTimestampUs

Gets whether the "timestamp_us" field is set

public bool HasTimestampUs { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<VideoFrameReceived> Parser { get; }

Property Value

MessageParser<VideoFrameReceived>

Rotation

public VideoRotation Rotation { get; set; }

Property Value

VideoRotation

TimestampUs

In microseconds

public long TimestampUs { get; set; }

Property Value

long

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearRotation()

Clears the value of the "rotation" field

public void ClearRotation()

ClearTimestampUs()

Clears the value of the "timestamp_us" field

public void ClearTimestampUs()

Clone()

public VideoFrameReceived Clone()

Returns

VideoFrameReceived

Equals(VideoFrameReceived)

public bool Equals(VideoFrameReceived other)

Parameters

other VideoFrameReceived

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(VideoFrameReceived)

public void MergeFrom(VideoFrameReceived other)

Parameters

other VideoFrameReceived

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream