Class TrackInfo
public sealed class TrackInfo : IMessage<TrackInfo>, IEquatable<TrackInfo>, IDeepCloneable<TrackInfo>, IBufferMessage, IMessage
- Inheritance
-
TrackInfo
- Inherited Members
Constructors
TrackInfo()
public TrackInfo()
TrackInfo(TrackInfo)
public TrackInfo(TrackInfo other)
Parameters
otherTrackInfo
Fields
AudioFeaturesFieldNumber
Field number for the "audio_features" field.
public const int AudioFeaturesFieldNumber = 19
Field Value
BackupCodecPolicyFieldNumber
Field number for the "backup_codec_policy" field.
public const int BackupCodecPolicyFieldNumber = 20
Field Value
CodecsFieldNumber
Field number for the "codecs" field.
public const int CodecsFieldNumber = 13
Field Value
DisableDtxFieldNumber
Field number for the "disable_dtx" field.
public const int DisableDtxFieldNumber = 8
Field Value
DisableRedFieldNumber
Field number for the "disable_red" field.
public const int DisableRedFieldNumber = 15
Field Value
EncryptionFieldNumber
Field number for the "encryption" field.
public const int EncryptionFieldNumber = 16
Field Value
HeightFieldNumber
Field number for the "height" field.
public const int HeightFieldNumber = 6
Field Value
LayersFieldNumber
Field number for the "layers" field.
public const int LayersFieldNumber = 10
Field Value
MidFieldNumber
Field number for the "mid" field.
public const int MidFieldNumber = 12
Field Value
MimeTypeFieldNumber
Field number for the "mime_type" field.
public const int MimeTypeFieldNumber = 11
Field Value
MutedFieldNumber
Field number for the "muted" field.
public const int MutedFieldNumber = 4
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 3
Field Value
PacketTrailerFeaturesFieldNumber
Field number for the "packet_trailer_features" field.
public const int PacketTrailerFeaturesFieldNumber = 21
Field Value
SidFieldNumber
Field number for the "sid" field.
public const int SidFieldNumber = 1
Field Value
SimulcastFieldNumber
Field number for the "simulcast" field.
public const int SimulcastFieldNumber = 7
Field Value
SourceFieldNumber
Field number for the "source" field.
public const int SourceFieldNumber = 9
Field Value
StereoFieldNumber
Field number for the "stereo" field.
public const int StereoFieldNumber = 14
Field Value
StreamFieldNumber
Field number for the "stream" field.
public const int StreamFieldNumber = 17
Field Value
TypeFieldNumber
Field number for the "type" field.
public const int TypeFieldNumber = 2
Field Value
VersionFieldNumber
Field number for the "version" field.
public const int VersionFieldNumber = 18
Field Value
WidthFieldNumber
Field number for the "width" field.
public const int WidthFieldNumber = 5
Field Value
Properties
AudioFeatures
public RepeatedField<AudioTrackFeature> AudioFeatures { get; }
Property Value
- RepeatedField<AudioTrackFeature>
BackupCodecPolicy
public BackupCodecPolicy BackupCodecPolicy { get; set; }
Property Value
Codecs
public RepeatedField<SimulcastCodecInfo> Codecs { get; }
Property Value
- RepeatedField<SimulcastCodecInfo>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisableDtx
true if DTX (Discontinuous Transmission) is disabled for audio
[Obsolete]
public bool DisableDtx { get; set; }
Property Value
DisableRed
true if RED (Redundant Encoding) is disabled for audio
public bool DisableRed { get; set; }
Property Value
Encryption
public Encryption.Types.Type Encryption { get; set; }
Property Value
Height
original height of video (unset for audio)
public uint Height { get; set; }
Property Value
Layers
see codecs for layers of individual codec
[Obsolete]
public RepeatedField<VideoLayer> Layers { get; }
Property Value
- RepeatedField<VideoLayer>
Mid
public string Mid { get; set; }
Property Value
MimeType
mime type of codec
public string MimeType { get; set; }
Property Value
Muted
public bool Muted { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
PacketTrailerFeatures
public RepeatedField<PacketTrailerFeature> PacketTrailerFeatures { get; }
Property Value
- RepeatedField<PacketTrailerFeature>
Parser
public static MessageParser<TrackInfo> Parser { get; }
Property Value
- MessageParser<TrackInfo>
Sid
public string Sid { get; set; }
Property Value
Simulcast
true if track is simulcasted
[Obsolete]
public bool Simulcast { get; set; }
Property Value
Source
source of media
public TrackSource Source { get; set; }
Property Value
Stereo
deprecated in favor of audio_features
[Obsolete]
public bool Stereo { get; set; }
Property Value
Stream
public string Stream { get; set; }
Property Value
Type
public TrackType Type { get; set; }
Property Value
Version
public TimedVersion Version { get; set; }
Property Value
Width
original width of video (unset for audio) clients may receive a lower resolution version with simulcast
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 TrackInfo Clone()
Returns
- TrackInfo
A deep clone of this object.
Equals(TrackInfo)
public bool Equals(TrackInfo other)
Parameters
otherTrackInfo
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(TrackInfo)
Merges the given message into this one.
public void MergeFrom(TrackInfo other)
Parameters
otherTrackInfo
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.