#include <Stats.h>

Public Attributes | |
| DOMString | label |
| The "label" value of the RTCDataChannel object. | |
| DOMString | protocol |
| The "protocol" value of the RTCDataChannel object. | |
| INT32 | dataChannelIdentifier |
| The "id" attribute of the RTCDataChannel object. | |
| DOMString | transportId |
| TODO: A stats object reference for the transport used to carry this datachannel. | |
| RTC_DATA_CHANNEL_STATE | state |
| The "readyState" value of the RTCDataChannel object. | |
| UINT32 | messagesSent |
| Represents the total number of API "message" events sent. | |
| UINT64 | bytesSent |
| Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers or padding. | |
| UINT32 | messagesReceived |
| Represents the total number of API "message" events received. | |
| UINT64 | bytesReceived |
| Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or padding. | |
| UINT64 RtcDataChannelStats::bytesReceived |
Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or padding.
| UINT64 RtcDataChannelStats::bytesSent |
Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers or padding.
| INT32 RtcDataChannelStats::dataChannelIdentifier |
The "id" attribute of the RTCDataChannel object.
| DOMString RtcDataChannelStats::label |
The "label" value of the RTCDataChannel object.
| UINT32 RtcDataChannelStats::messagesReceived |
Represents the total number of API "message" events received.
| UINT32 RtcDataChannelStats::messagesSent |
Represents the total number of API "message" events sent.
| DOMString RtcDataChannelStats::protocol |
The "protocol" value of the RTCDataChannel object.
| RTC_DATA_CHANNEL_STATE RtcDataChannelStats::state |
The "readyState" value of the RTCDataChannel object.
| DOMString RtcDataChannelStats::transportId |
TODO: A stats object reference for the transport used to carry this datachannel.