new RTCDataChannelStats()
Statistics related to RTC data channels.
Properties:
Name | Type | Description |
---|---|---|
label |
external:String | The RTCDatachannel label. |
protocol |
external:String | The protocol used. |
datachannelid |
external:int64 | The RTCDatachannel identifier. |
state |
module:core/complexTypes.RTCDataChannelState | The state of the RTCDatachannel. |
messagesSent |
external:int64 | Represents the total number of API 'message' events sent. |
bytesSent |
external:int64 | Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers or padding. |
messagesReceived |
external:int64 | Represents the total number of API 'message' events received. |
bytesReceived |
external:int64 | Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or padding. |
Extends
- module:core.RTCStats