WebIDLpedia

RTCDataChannelStats dictionary

Definition

Identifiers for WebRTC's Statistics API defines RTCDataChannelStats



dictionary RTCDataChannelStats : RTCStats {
             DOMString           label;
             DOMString           protocol;
             unsigned short      dataChannelIdentifier;
             required RTCDataChannelState state;
             unsigned long       messagesSent;
             unsigned long long  bytesSent;
             unsigned long       messagesReceived;
             unsigned long long  bytesReceived;
};