Class DataTrackInfo
Information about a published data track.
public sealed class DataTrackInfo : Google.Protobuf.IMessage<DataTrackInfo>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataTrackInfo
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataTrackInfo()
public DataTrackInfo()
DataTrackInfo(DataTrackInfo)
public DataTrackInfo(DataTrackInfo other)
Parameters
otherDataTrackInfo
Fields
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
SidFieldNumber
Field number for the "sid" field.
public const int SidFieldNumber = 2
Field Value
UsesE2EeFieldNumber
Field number for the "uses_e2ee" field.
public const int UsesE2EeFieldNumber = 3
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
HasSid
Gets whether the "sid" field is set
public bool HasSid { get; }
Property Value
HasUsesE2Ee
Gets whether the "uses_e2ee" field is set
public bool HasUsesE2Ee { get; }
Property Value
Name
Name of the track assigned by the publisher.
public string Name { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataTrackInfo> Parser { get; }
Property Value
- MessageParser<DataTrackInfo>
Sid
SFU-assigned track identifier.
public string Sid { get; set; }
Property Value
UsesE2Ee
Whether or not frames sent on the track use end-to-end encryption.
public bool UsesE2Ee { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearName()
Clears the value of the "name" field
public void ClearName()
ClearSid()
Clears the value of the "sid" field
public void ClearSid()
ClearUsesE2Ee()
Clears the value of the "uses_e2ee" field
public void ClearUsesE2Ee()
Clone()
public DataTrackInfo Clone()
Returns
Equals(DataTrackInfo)
public bool Equals(DataTrackInfo other)
Parameters
otherDataTrackInfo
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(DataTrackInfo)
public void MergeFrom(DataTrackInfo other)
Parameters
otherDataTrackInfo
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream