Class JoinRequest
public sealed class JoinRequest : IMessage<JoinRequest>, IEquatable<JoinRequest>, IDeepCloneable<JoinRequest>, IBufferMessage, IMessage
- Inheritance
-
JoinRequest
- Implements
-
IMessage<JoinRequest>IDeepCloneable<JoinRequest>IBufferMessageIMessage
- Inherited Members
Constructors
JoinRequest()
public JoinRequest()
JoinRequest(JoinRequest)
public JoinRequest(JoinRequest other)
Parameters
otherJoinRequest
Fields
AddTrackRequestsFieldNumber
Field number for the "add_track_requests" field.
public const int AddTrackRequestsFieldNumber = 5
Field Value
ClientInfoFieldNumber
Field number for the "client_info" field.
public const int ClientInfoFieldNumber = 1
Field Value
ConnectionSettingsFieldNumber
Field number for the "connection_settings" field.
public const int ConnectionSettingsFieldNumber = 2
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 3
Field Value
ParticipantAttributesFieldNumber
Field number for the "participant_attributes" field.
public const int ParticipantAttributesFieldNumber = 4
Field Value
ParticipantSidFieldNumber
Field number for the "participant_sid" field.
public const int ParticipantSidFieldNumber = 9
Field Value
PublisherOfferFieldNumber
Field number for the "publisher_offer" field.
public const int PublisherOfferFieldNumber = 6
Field Value
ReconnectFieldNumber
Field number for the "reconnect" field.
public const int ReconnectFieldNumber = 7
Field Value
ReconnectReasonFieldNumber
Field number for the "reconnect_reason" field.
public const int ReconnectReasonFieldNumber = 8
Field Value
SyncStateFieldNumber
Field number for the "sync_state" field.
public const int SyncStateFieldNumber = 10
Field Value
Properties
AddTrackRequests
public RepeatedField<AddTrackRequest> AddTrackRequests { get; }
Property Value
- RepeatedField<AddTrackRequest>
ClientInfo
public ClientInfo ClientInfo { get; set; }
Property Value
ConnectionSettings
public ConnectionSettings ConnectionSettings { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Metadata
if not empty, will overwrite metadata in token
public string Metadata { get; set; }
Property Value
Parser
public static MessageParser<JoinRequest> Parser { get; }
Property Value
- MessageParser<JoinRequest>
ParticipantAttributes
will set keys provided via this will overwrite if the same key is in the token will not delete keys from token if there is a key collision and this sets that key to empty value
public MapField<string, string> ParticipantAttributes { get; }
Property Value
ParticipantSid
public string ParticipantSid { get; set; }
Property Value
PublisherOffer
public SessionDescription PublisherOffer { get; set; }
Property Value
Reconnect
public bool Reconnect { get; set; }
Property Value
ReconnectReason
public ReconnectReason ReconnectReason { get; set; }
Property Value
SyncState
public SyncState SyncState { 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 JoinRequest Clone()
Returns
- JoinRequest
A deep clone of this object.
Equals(JoinRequest)
public bool Equals(JoinRequest other)
Parameters
otherJoinRequest
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(JoinRequest)
Merges the given message into this one.
public void MergeFrom(JoinRequest other)
Parameters
otherJoinRequest
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.