Class RTCDataChannelStats
Reports statistics for a data channel.
Inherited Members
Namespace: Unity.WebRTC
Assembly: Unity.WebRTC.dll
Syntax
public class RTCDataChannelStats : RTCStats
Properties
bytesReceived
The number of bytes received over the data channel.
Declaration
public ulong bytesReceived { get; }
Property Value
Type | Description |
---|---|
ulong |
bytesSent
The number of bytes sent over the data channel.
Declaration
public ulong bytesSent { get; }
Property Value
Type | Description |
---|---|
ulong |
dataChannelIdentifier
The identifier for the data channel.
Declaration
public int dataChannelIdentifier { get; }
Property Value
Type | Description |
---|---|
int |
label
The label of the data channel.
Declaration
public string label { get; }
Property Value
Type | Description |
---|---|
string |
messagesReceived
The number of messages received over the data channel.
Declaration
public uint messagesReceived { get; }
Property Value
Type | Description |
---|---|
uint |
messagesSent
The number of messages sent over the data channel.
Declaration
public uint messagesSent { get; }
Property Value
Type | Description |
---|---|
uint |
protocol
The protocol used by the data channel.
Declaration
public string protocol { get; }
Property Value
Type | Description |
---|---|
string |
state
The state of the data channel.
Declaration
public string state { get; }
Property Value
Type | Description |
---|---|
string |