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
otherDataTrackFrameEncoding
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
HasCustom
Gets whether the "custom" field is set
public bool HasCustom { get; }
Property Value
HasWellKnown
Gets whether the "well_known" field is set
public bool HasWellKnown { get; }
Property Value
ValueCase
public DataTrackFrameEncoding.ValueOneofCase ValueCase { get; }
Property Value
WellKnown
public DataTrackFrameEncoding.Types.WellKnownFrameEncoding WellKnown { get; set; }
Property Value
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()