Struct PeerConnection.DataChannelStats
Subset of RTCDataChannelStats. See https://www.w3.org/TR/webrtc-stats/#dcstats-dict*
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public struct DataChannelStats
Fields
| Improve this Doc View SourceBytesReceived
Total number of payload bytes received, excluding headers and paddings.
Declaration
public ulong BytesReceived
Field Value
Type | Description |
---|---|
UInt64 |
BytesSent
Total number of payload bytes sent, excluding headers and paddings.
Declaration
public ulong BytesSent
Field Value
Type | Description |
---|---|
UInt64 |
DataChannelIdentifier
ID of the data channel associated with these statistics.
Declaration
public long DataChannelIdentifier
Field Value
Type | Description |
---|---|
Int64 |
MessagesReceived
Total number of API message events received.
Declaration
public uint MessagesReceived
Field Value
Type | Description |
---|---|
UInt32 |
MessagesSent
Total number of API message event sent.
Declaration
public uint MessagesSent
Field Value
Type | Description |
---|---|
UInt32 |
TimestampUs
Unix timestamp (time since Epoch) of the statistics. For remote statistics, this is the time at which the information reached the local endpoint.
Declaration
public long TimestampUs
Field Value
Type | Description |
---|---|
Int64 |