Class JoinResponse
public sealed class JoinResponse : IMessage<JoinResponse>, IEquatable<JoinResponse>, IDeepCloneable<JoinResponse>, IBufferMessage, IMessage
- Inheritance
-
JoinResponse
- Implements
-
IMessage<JoinResponse>IDeepCloneable<JoinResponse>IBufferMessageIMessage
- Inherited Members
Constructors
JoinResponse()
public JoinResponse()
JoinResponse(JoinResponse)
public JoinResponse(JoinResponse other)
Parameters
otherJoinResponse
Fields
AlternativeUrlFieldNumber
Field number for the "alternative_url" field.
public const int AlternativeUrlFieldNumber = 7
Field Value
ClientConfigurationFieldNumber
Field number for the "client_configuration" field.
public const int ClientConfigurationFieldNumber = 8
Field Value
EnabledPublishCodecsFieldNumber
Field number for the "enabled_publish_codecs" field.
public const int EnabledPublishCodecsFieldNumber = 14
Field Value
FastPublishFieldNumber
Field number for the "fast_publish" field.
public const int FastPublishFieldNumber = 15
Field Value
IceServersFieldNumber
Field number for the "ice_servers" field.
public const int IceServersFieldNumber = 5
Field Value
OtherParticipantsFieldNumber
Field number for the "other_participants" field.
public const int OtherParticipantsFieldNumber = 3
Field Value
ParticipantFieldNumber
Field number for the "participant" field.
public const int ParticipantFieldNumber = 2
Field Value
PingIntervalFieldNumber
Field number for the "ping_interval" field.
public const int PingIntervalFieldNumber = 11
Field Value
PingTimeoutFieldNumber
Field number for the "ping_timeout" field.
public const int PingTimeoutFieldNumber = 10
Field Value
RoomFieldNumber
Field number for the "room" field.
public const int RoomFieldNumber = 1
Field Value
ServerInfoFieldNumber
Field number for the "server_info" field.
public const int ServerInfoFieldNumber = 12
Field Value
ServerRegionFieldNumber
Field number for the "server_region" field.
public const int ServerRegionFieldNumber = 9
Field Value
ServerVersionFieldNumber
Field number for the "server_version" field.
public const int ServerVersionFieldNumber = 4
Field Value
SifTrailerFieldNumber
Field number for the "sif_trailer" field.
public const int SifTrailerFieldNumber = 13
Field Value
SubscriberPrimaryFieldNumber
Field number for the "subscriber_primary" field.
public const int SubscriberPrimaryFieldNumber = 6
Field Value
Properties
AlternativeUrl
when the current server isn't available, return alternate url to retry connection when this is set, the other fields will be largely empty
public string AlternativeUrl { get; set; }
Property Value
ClientConfiguration
public ClientConfiguration ClientConfiguration { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EnabledPublishCodecs
public RepeatedField<Codec> EnabledPublishCodecs { get; }
Property Value
- RepeatedField<Codec>
FastPublish
when set, client should attempt to establish publish peer connection when joining room to speed up publishing
public bool FastPublish { get; set; }
Property Value
IceServers
public RepeatedField<ICEServer> IceServers { get; }
Property Value
- RepeatedField<ICEServer>
OtherParticipants
public RepeatedField<ParticipantInfo> OtherParticipants { get; }
Property Value
- RepeatedField<ParticipantInfo>
Parser
public static MessageParser<JoinResponse> Parser { get; }
Property Value
- MessageParser<JoinResponse>
Participant
public ParticipantInfo Participant { get; set; }
Property Value
PingInterval
public int PingInterval { get; set; }
Property Value
PingTimeout
public int PingTimeout { get; set; }
Property Value
Room
public Room Room { get; set; }
Property Value
ServerInfo
public ServerInfo ServerInfo { get; set; }
Property Value
ServerRegion
deprecated. use server_info.region instead.
public string ServerRegion { get; set; }
Property Value
ServerVersion
deprecated. use server_info.version instead.
public string ServerVersion { get; set; }
Property Value
SifTrailer
Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled
public ByteString SifTrailer { get; set; }
Property Value
- ByteString
SubscriberPrimary
use subscriber as the primary PeerConnection
public bool SubscriberPrimary { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public JoinResponse Clone()
Returns
- JoinResponse
A deep clone of this object.
Equals(JoinResponse)
public bool Equals(JoinResponse other)
Parameters
otherJoinResponse
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(JoinResponse)
Merges the given message into this one.
public void MergeFrom(JoinResponse other)
Parameters
otherJoinResponse
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.