Table of Contents

Class DataTrackFrameEncoding

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll

Encoding for frame payloads.

public sealed class DataTrackFrameEncoding : IMessage<DataTrackFrameEncoding>, IEquatable<DataTrackFrameEncoding>, IDeepCloneable<DataTrackFrameEncoding>, IBufferMessage, IMessage
Inheritance
DataTrackFrameEncoding
Implements
IBufferMessage
Inherited Members

Constructors

DataTrackFrameEncoding()

public DataTrackFrameEncoding()

DataTrackFrameEncoding(DataTrackFrameEncoding)

public DataTrackFrameEncoding(DataTrackFrameEncoding other)

Parameters

other DataTrackFrameEncoding

Properties

Custom

Identifier of a custom encoding not covered by the well-known cases. This must be non-empty and no longer than 32 characters.

public string Custom { get; set; }

Property Value

string

HasCustom

Gets whether the "custom" field is set

public bool HasCustom { get; }

Property Value

bool

HasWellKnown

Gets whether the "well_known" field is set

public bool HasWellKnown { get; }

Property Value

bool

ValueCase

public DataTrackFrameEncoding.ValueOneofCase ValueCase { get; }

Property Value

DataTrackFrameEncoding.ValueOneofCase

WellKnown

public DataTrackFrameEncoding.Types.WellKnownFrameEncoding WellKnown { get; set; }

Property Value

DataTrackFrameEncoding.Types.WellKnownFrameEncoding

Methods

ClearCustom()

Clears the value of the oneof if it's currently set to "custom"

public void ClearCustom()

ClearValue()

public void ClearValue()

ClearWellKnown()

Clears the value of the oneof if it's currently set to "well_known"

public void ClearWellKnown()