Class DataChannelStats
- Namespace
- LiveKit.Proto
- Assembly
- LivekitRtc.dll
public sealed class DataChannelStats : IMessage<DataChannelStats>, IEquatable<DataChannelStats>, IDeepCloneable<DataChannelStats>, IBufferMessage, IMessage
- Inheritance
-
DataChannelStats
- Implements
-
IBufferMessage
- Inherited Members
Constructors
DataChannelStats()
public DataChannelStats()
DataChannelStats(DataChannelStats)
public DataChannelStats(DataChannelStats other)
Parameters
otherDataChannelStats
Properties
BytesReceived
public ulong BytesReceived { get; set; }
Property Value
BytesSent
public ulong BytesSent { get; set; }
Property Value
DataChannelIdentifier
public int DataChannelIdentifier { get; set; }
Property Value
HasBytesReceived
Gets whether the "bytes_received" field is set
public bool HasBytesReceived { get; }
Property Value
HasBytesSent
Gets whether the "bytes_sent" field is set
public bool HasBytesSent { get; }
Property Value
HasDataChannelIdentifier
Gets whether the "data_channel_identifier" field is set
public bool HasDataChannelIdentifier { get; }
Property Value
HasLabel
Gets whether the "label" field is set
public bool HasLabel { get; }
Property Value
HasMessagesReceived
Gets whether the "messages_received" field is set
public bool HasMessagesReceived { get; }
Property Value
HasMessagesSent
Gets whether the "messages_sent" field is set
public bool HasMessagesSent { get; }
Property Value
HasProtocol
Gets whether the "protocol" field is set
public bool HasProtocol { get; }
Property Value
HasState
Gets whether the "state" field is set
public bool HasState { get; }
Property Value
Label
public string Label { get; set; }
Property Value
MessagesReceived
public uint MessagesReceived { get; set; }
Property Value
MessagesSent
public uint MessagesSent { get; set; }
Property Value
Protocol
public string Protocol { get; set; }
Property Value
State
public DataChannelState State { get; set; }
Property Value
Methods
ClearBytesReceived()
Clears the value of the "bytes_received" field
public void ClearBytesReceived()
ClearBytesSent()
Clears the value of the "bytes_sent" field
public void ClearBytesSent()
ClearDataChannelIdentifier()
Clears the value of the "data_channel_identifier" field
public void ClearDataChannelIdentifier()
ClearLabel()
Clears the value of the "label" field
public void ClearLabel()
ClearMessagesReceived()
Clears the value of the "messages_received" field
public void ClearMessagesReceived()
ClearMessagesSent()
Clears the value of the "messages_sent" field
public void ClearMessagesSent()
ClearProtocol()
Clears the value of the "protocol" field
public void ClearProtocol()
ClearState()
Clears the value of the "state" field
public void ClearState()