RTCDataChannelStats: messagesReceived property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
ThemessagesReceived property of theRTCDataChannelStats dictionary returns the total number ofmessage events fired for received messages on the associatedRTCDataChannel.
In this article
Value
A positive integer value indicating the total number ofmessage events for inbound data on the associated data channel.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-messagesreceived> |