此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

RTCDataChannelStats:messagesReceived 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

RTCDataChannelStats 字典的 messagesReceived 属性返回与之关联的 RTCDataChannel 已接收消息所触发的 message 事件的总数。

表示与之关联数据通道的入站数据的 message 事件的总数的正整数值。

规范

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

浏览器兼容性