Class SimulcastCodecInfo
Inherited Members
Namespace: LiveKit.Proto
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed class SimulcastCodecInfo : IMessage<SimulcastCodecInfo>, IEquatable<SimulcastCodecInfo>, IDeepCloneable<SimulcastCodecInfo>, IBufferMessage, IMessage
Constructors
SimulcastCodecInfo()
Declaration
public SimulcastCodecInfo()
SimulcastCodecInfo(SimulcastCodecInfo)
Declaration
public SimulcastCodecInfo(SimulcastCodecInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| SimulcastCodecInfo | other |
Fields
CidFieldNumber
Field number for the "cid" field.
Declaration
public const int CidFieldNumber = 3
Field Value
| Type | Description |
|---|---|
| int |
LayersFieldNumber
Field number for the "layers" field.
Declaration
public const int LayersFieldNumber = 4
Field Value
| Type | Description |
|---|---|
| int |
MidFieldNumber
Field number for the "mid" field.
Declaration
public const int MidFieldNumber = 2
Field Value
| Type | Description |
|---|---|
| int |
MimeTypeFieldNumber
Field number for the "mime_type" field.
Declaration
public const int MimeTypeFieldNumber = 1
Field Value
| Type | Description |
|---|---|
| int |
SdpCidFieldNumber
Field number for the "sdp_cid" field.
Declaration
public const int SdpCidFieldNumber = 6
Field Value
| Type | Description |
|---|---|
| int |
VideoLayerModeFieldNumber
Field number for the "video_layer_mode" field.
Declaration
public const int VideoLayerModeFieldNumber = 5
Field Value
| Type | Description |
|---|---|
| int |
Properties
Cid
Declaration
public string Cid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type | Description |
|---|---|
| MessageDescriptor |
Layers
Declaration
public RepeatedField<VideoLayer> Layers { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<VideoLayer> |
Mid
Declaration
public string Mid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MimeType
Declaration
public string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parser
Declaration
public static MessageParser<SimulcastCodecInfo> Parser { get; }
Property Value
| Type | Description |
|---|---|
| MessageParser<SimulcastCodecInfo> |
SdpCid
cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.
Declaration
public string SdpCid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VideoLayerMode
Declaration
public VideoLayer.Types.Mode VideoLayerMode { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoLayer.Types.Mode |
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
| Type | Description |
|---|---|
| int | The number of bytes required to write this message to a coded output stream. |
Clone()
Creates a deep clone of this object.
Declaration
public SimulcastCodecInfo Clone()
Returns
| Type | Description |
|---|---|
| SimulcastCodecInfo | A deep clone of this object. |
Equals(SimulcastCodecInfo)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(SimulcastCodecInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| SimulcastCodecInfo | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| object | other |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
| Type | Name | Description |
|---|---|---|
| CodedInputStream | input |
Remarks
See the user guide for precise merge semantics.
MergeFrom(SimulcastCodecInfo)
Merges the given message into this one.
Declaration
public void MergeFrom(SimulcastCodecInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| SimulcastCodecInfo | other |
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
| Type | Name | Description |
|---|---|---|
| CodedOutputStream | output | Coded output stream to write the data to. Must not be null. |