Table of Contents

Class VideoBufferInfo

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

Constructors

VideoBufferInfo()

public VideoBufferInfo()

VideoBufferInfo(VideoBufferInfo)

public VideoBufferInfo(VideoBufferInfo other)

Parameters

other VideoBufferInfo

Fields

ComponentsFieldNumber

Field number for the "components" field.

public const int ComponentsFieldNumber = 7

Field Value

int

DataPtrFieldNumber

Field number for the "data_ptr" field.

public const int DataPtrFieldNumber = 4

Field Value

int

HeightFieldNumber

Field number for the "height" field.

public const int HeightFieldNumber = 3

Field Value

int

StrideFieldNumber

Field number for the "stride" field.

public const int StrideFieldNumber = 6

Field Value

int

TypeFieldNumber

Field number for the "type" field.

public const int TypeFieldNumber = 1

Field Value

int

WidthFieldNumber

Field number for the "width" field.

public const int WidthFieldNumber = 2

Field Value

int

Properties

Components

public Google.Protobuf.Collections.RepeatedField<VideoBufferInfo.Types.ComponentInfo> Components { get; }

Property Value

RepeatedField<ComponentInfo>

DataPtr

public ulong DataPtr { get; set; }

Property Value

ulong

Descriptor

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

Property Value

MessageDescriptor

HasDataPtr

Gets whether the "data_ptr" field is set

public bool HasDataPtr { get; }

Property Value

bool

HasHeight

Gets whether the "height" field is set

public bool HasHeight { get; }

Property Value

bool

HasStride

Gets whether the "stride" field is set

public bool HasStride { get; }

Property Value

bool

HasType

Gets whether the "type" field is set

public bool HasType { get; }

Property Value

bool

HasWidth

Gets whether the "width" field is set

public bool HasWidth { get; }

Property Value

bool

Height

public uint Height { get; set; }

Property Value

uint

Parser

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

Property Value

MessageParser<VideoBufferInfo>

Stride

only for packed formats

public uint Stride { get; set; }

Property Value

uint

Type

public VideoBufferType Type { get; set; }

Property Value

VideoBufferType

Width

public uint Width { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDataPtr()

Clears the value of the "data_ptr" field

public void ClearDataPtr()

ClearHeight()

Clears the value of the "height" field

public void ClearHeight()

ClearStride()

Clears the value of the "stride" field

public void ClearStride()

ClearType()

Clears the value of the "type" field

public void ClearType()

ClearWidth()

Clears the value of the "width" field

public void ClearWidth()

Clone()

public VideoBufferInfo Clone()

Returns

VideoBufferInfo

Equals(VideoBufferInfo)

public bool Equals(VideoBufferInfo other)

Parameters

other VideoBufferInfo

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(VideoBufferInfo)

public void MergeFrom(VideoBufferInfo other)

Parameters

other VideoBufferInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream