Class RoomOptions
public sealed class RoomOptions : Google.Protobuf.IMessage<RoomOptions>, Google.Protobuf.IBufferMessage
- Inheritance
-
RoomOptions
- Implements
-
IBufferMessage
- Extension Methods
Constructors
RoomOptions()
public RoomOptions()
RoomOptions(RoomOptions)
public RoomOptions(RoomOptions other)
Parameters
otherRoomOptions
Fields
AdaptiveStreamFieldNumber
Field number for the "adaptive_stream" field.
public const int AdaptiveStreamFieldNumber = 2
Field Value
AutoSubscribeFieldNumber
Field number for the "auto_subscribe" field.
public const int AutoSubscribeFieldNumber = 1
Field Value
ConnectTimeoutMsFieldNumber
Field number for the "connect_timeout_ms" field.
public const int ConnectTimeoutMsFieldNumber = 9
Field Value
DynacastFieldNumber
Field number for the "dynacast" field.
public const int DynacastFieldNumber = 3
Field Value
E2EeFieldNumber
Field number for the "e2ee" field.
public const int E2EeFieldNumber = 4
Field Value
EncryptionFieldNumber
Field number for the "encryption" field.
public const int EncryptionFieldNumber = 7
Field Value
JoinRetriesFieldNumber
Field number for the "join_retries" field.
public const int JoinRetriesFieldNumber = 6
Field Value
RtcConfigFieldNumber
Field number for the "rtc_config" field.
public const int RtcConfigFieldNumber = 5
Field Value
SinglePeerConnectionFieldNumber
Field number for the "single_peer_connection" field.
public const int SinglePeerConnectionFieldNumber = 8
Field Value
Properties
AdaptiveStream
public bool AdaptiveStream { get; set; }
Property Value
AutoSubscribe
public bool AutoSubscribe { get; set; }
Property Value
ConnectTimeoutMs
timeout in milliseconds for each signal connection attempt (default: 5000)
public ulong ConnectTimeoutMs { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Dynacast
public bool Dynacast { get; set; }
Property Value
E2Ee
[Obsolete]
public E2eeOptions E2Ee { get; set; }
Property Value
Encryption
public E2eeOptions Encryption { get; set; }
Property Value
HasAdaptiveStream
Gets whether the "adaptive_stream" field is set
public bool HasAdaptiveStream { get; }
Property Value
HasAutoSubscribe
Gets whether the "auto_subscribe" field is set
public bool HasAutoSubscribe { get; }
Property Value
HasConnectTimeoutMs
Gets whether the "connect_timeout_ms" field is set
public bool HasConnectTimeoutMs { get; }
Property Value
HasDynacast
Gets whether the "dynacast" field is set
public bool HasDynacast { get; }
Property Value
HasJoinRetries
Gets whether the "join_retries" field is set
public bool HasJoinRetries { get; }
Property Value
HasSinglePeerConnection
Gets whether the "single_peer_connection" field is set
public bool HasSinglePeerConnection { get; }
Property Value
JoinRetries
public uint JoinRetries { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<RoomOptions> Parser { get; }
Property Value
- MessageParser<RoomOptions>
RtcConfig
allow to setup a custom RtcConfiguration
public RtcConfig RtcConfig { get; set; }
Property Value
SinglePeerConnection
use single peer connection for both publish/subscribe (default: false)
public bool SinglePeerConnection { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAdaptiveStream()
Clears the value of the "adaptive_stream" field
public void ClearAdaptiveStream()
ClearAutoSubscribe()
Clears the value of the "auto_subscribe" field
public void ClearAutoSubscribe()
ClearConnectTimeoutMs()
Clears the value of the "connect_timeout_ms" field
public void ClearConnectTimeoutMs()
ClearDynacast()
Clears the value of the "dynacast" field
public void ClearDynacast()
ClearJoinRetries()
Clears the value of the "join_retries" field
public void ClearJoinRetries()
ClearSinglePeerConnection()
Clears the value of the "single_peer_connection" field
public void ClearSinglePeerConnection()
Clone()
public RoomOptions Clone()
Returns
Equals(RoomOptions)
public bool Equals(RoomOptions other)
Parameters
otherRoomOptions
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(RoomOptions)
public void MergeFrom(RoomOptions other)
Parameters
otherRoomOptions
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream