RTCDataChannelStats:bytesSent 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
RTCDataChannelStats 字典的 bytesSent 属性返回在关联的 RTCDataChannel 上发送的总的有效负载字节数。
需要注意的是,该属性不会包括非有效载荷字节(例如用于成帧和在报头中使用的字节)。
值
表示在关联的数据通道上发送的总的有效负载字节数的正整数值。
规范
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-bytessent> |