Class UpdateTrackSettings
public sealed class UpdateTrackSettings : IMessage<UpdateTrackSettings>, IEquatable<UpdateTrackSettings>, IDeepCloneable<UpdateTrackSettings>, IBufferMessage, IMessage
- Inheritance
-
UpdateTrackSettings
- Implements
-
IMessage<UpdateTrackSettings>IDeepCloneable<UpdateTrackSettings>IBufferMessageIMessage
- Inherited Members
Constructors
UpdateTrackSettings()
public UpdateTrackSettings()
UpdateTrackSettings(UpdateTrackSettings)
public UpdateTrackSettings(UpdateTrackSettings other)
Parameters
otherUpdateTrackSettings
Fields
DisabledFieldNumber
Field number for the "disabled" field.
public const int DisabledFieldNumber = 3
Field Value
FpsFieldNumber
Field number for the "fps" field.
public const int FpsFieldNumber = 7
Field Value
HeightFieldNumber
Field number for the "height" field.
public const int HeightFieldNumber = 6
Field Value
PriorityFieldNumber
Field number for the "priority" field.
public const int PriorityFieldNumber = 8
Field Value
QualityFieldNumber
Field number for the "quality" field.
public const int QualityFieldNumber = 4
Field Value
TrackSidsFieldNumber
Field number for the "track_sids" field.
public const int TrackSidsFieldNumber = 1
Field Value
WidthFieldNumber
Field number for the "width" field.
public const int WidthFieldNumber = 5
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Disabled
when true, the track is placed in a paused state, with no new data returned
public bool Disabled { get; set; }
Property Value
Fps
public uint Fps { get; set; }
Property Value
Height
for video, height to receive
public uint Height { get; set; }
Property Value
Parser
public static MessageParser<UpdateTrackSettings> Parser { get; }
Property Value
- MessageParser<UpdateTrackSettings>
Priority
subscription priority. 1 being the highest (0 is unset) when unset, server sill assign priority based on the order of subscription server will use priority in the following ways:
- when subscribed tracks exceed per-participant subscription limit, server will pause the lowest priority tracks
- when the network is congested, server will assign available bandwidth to higher priority tracks first. lowest priority tracks can be paused
public uint Priority { get; set; }
Property Value
Quality
deprecated in favor of width & height
public VideoQuality Quality { get; set; }
Property Value
TrackSids
public RepeatedField<string> TrackSids { get; }
Property Value
- RepeatedField<string>
Width
for video, width to receive
public uint Width { 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 UpdateTrackSettings Clone()
Returns
- UpdateTrackSettings
A deep clone of this object.
Equals(UpdateTrackSettings)
public bool Equals(UpdateTrackSettings other)
Parameters
otherUpdateTrackSettings
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(UpdateTrackSettings)
Merges the given message into this one.
public void MergeFrom(UpdateTrackSettings other)
Parameters
otherUpdateTrackSettings
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.