Class TrackPublishOptions
public sealed class TrackPublishOptions : Google.Protobuf.IMessage<TrackPublishOptions>, Google.Protobuf.IBufferMessage
- Inheritance
-
TrackPublishOptions
- Implements
-
IBufferMessage
- Extension Methods
Constructors
TrackPublishOptions()
public TrackPublishOptions()
TrackPublishOptions(TrackPublishOptions)
public TrackPublishOptions(TrackPublishOptions other)
Parameters
otherTrackPublishOptions
Fields
AudioEncodingFieldNumber
Field number for the "audio_encoding" field.
public const int AudioEncodingFieldNumber = 2
Field Value
DtxFieldNumber
Field number for the "dtx" field.
public const int DtxFieldNumber = 4
Field Value
PreconnectBufferFieldNumber
Field number for the "preconnect_buffer" field.
public const int PreconnectBufferFieldNumber = 9
Field Value
RedFieldNumber
Field number for the "red" field.
public const int RedFieldNumber = 5
Field Value
SimulcastFieldNumber
Field number for the "simulcast" field.
public const int SimulcastFieldNumber = 6
Field Value
SourceFieldNumber
Field number for the "source" field.
public const int SourceFieldNumber = 7
Field Value
StreamFieldNumber
Field number for the "stream" field.
public const int StreamFieldNumber = 8
Field Value
VideoCodecFieldNumber
Field number for the "video_codec" field.
public const int VideoCodecFieldNumber = 3
Field Value
VideoEncodingFieldNumber
Field number for the "video_encoding" field.
public const int VideoEncodingFieldNumber = 1
Field Value
Properties
AudioEncoding
public AudioEncoding AudioEncoding { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Dtx
public bool Dtx { get; set; }
Property Value
HasDtx
Gets whether the "dtx" field is set
public bool HasDtx { get; }
Property Value
HasPreconnectBuffer
Gets whether the "preconnect_buffer" field is set
public bool HasPreconnectBuffer { get; }
Property Value
HasRed
Gets whether the "red" field is set
public bool HasRed { get; }
Property Value
HasSimulcast
Gets whether the "simulcast" field is set
public bool HasSimulcast { get; }
Property Value
HasSource
Gets whether the "source" field is set
public bool HasSource { get; }
Property Value
HasStream
Gets whether the "stream" field is set
public bool HasStream { get; }
Property Value
HasVideoCodec
Gets whether the "video_codec" field is set
public bool HasVideoCodec { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<TrackPublishOptions> Parser { get; }
Property Value
- MessageParser<TrackPublishOptions>
PreconnectBuffer
public bool PreconnectBuffer { get; set; }
Property Value
Red
public bool Red { get; set; }
Property Value
Simulcast
public bool Simulcast { get; set; }
Property Value
Source
public TrackSource Source { get; set; }
Property Value
Stream
public string Stream { get; set; }
Property Value
VideoCodec
public VideoCodec VideoCodec { get; set; }
Property Value
VideoEncoding
encodings are optional
public VideoEncoding VideoEncoding { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDtx()
Clears the value of the "dtx" field
public void ClearDtx()
ClearPreconnectBuffer()
Clears the value of the "preconnect_buffer" field
public void ClearPreconnectBuffer()
ClearRed()
Clears the value of the "red" field
public void ClearRed()
ClearSimulcast()
Clears the value of the "simulcast" field
public void ClearSimulcast()
ClearSource()
Clears the value of the "source" field
public void ClearSource()
ClearStream()
Clears the value of the "stream" field
public void ClearStream()
ClearVideoCodec()
Clears the value of the "video_codec" field
public void ClearVideoCodec()
Clone()
public TrackPublishOptions Clone()
Returns
Equals(TrackPublishOptions)
public bool Equals(TrackPublishOptions other)
Parameters
otherTrackPublishOptions
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(TrackPublishOptions)
public void MergeFrom(TrackPublishOptions other)
Parameters
otherTrackPublishOptions
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream