Table of Contents

Class EncodedRateControl

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

Constructors

EncodedRateControl()

public EncodedRateControl()

EncodedRateControl(EncodedRateControl)

public EncodedRateControl(EncodedRateControl other)

Parameters

other EncodedRateControl

Fields

FramerateFpsFieldNumber

Field number for the "framerate_fps" field.

public const int FramerateFpsFieldNumber = 2

Field Value

int

TargetBitrateBpsFieldNumber

Field number for the "target_bitrate_bps" field.

public const int TargetBitrateBpsFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

FramerateFps

public double FramerateFps { get; set; }

Property Value

double

HasFramerateFps

Gets whether the "framerate_fps" field is set

public bool HasFramerateFps { get; }

Property Value

bool

HasTargetBitrateBps

Gets whether the "target_bitrate_bps" field is set

public bool HasTargetBitrateBps { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<EncodedRateControl>

TargetBitrateBps

public ulong TargetBitrateBps { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearFramerateFps()

Clears the value of the "framerate_fps" field

public void ClearFramerateFps()

ClearTargetBitrateBps()

Clears the value of the "target_bitrate_bps" field

public void ClearTargetBitrateBps()

Clone()

public EncodedRateControl Clone()

Returns

EncodedRateControl

Equals(EncodedRateControl)

public bool Equals(EncodedRateControl other)

Parameters

other EncodedRateControl

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

public void MergeFrom(EncodedRateControl other)

Parameters

other EncodedRateControl

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream