RTCDataChannelStats: messagesSent property

The messagesSent property of the RTCDataChannelStats dictionary returns the total number of message events fired for sent messages on the associated RTCDataChannel.

Value

A positive integer value indicating the total number of message events for outbound data on the associated data channel.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcdatachannelstats-messagessent

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
messagesSent in 'data-channel' stats