RTCIceCandidatePairStats: bytesReceived 属性
The RTCIceCandidatePairStats
property bytesReceived
indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that have been received to date on the connection described by the candidate pair.
The bytesSent
property reports the number of bytes sent so far on the described connection.
值
表示迄今为止通过此候选对描述的连接接收到的总有效负载字节数(即不包括报头或填充等开销字节)的整数值。仅计算数据字节;此计数不包括填充、报头等开销。
规范
规范 |
---|
WebRTC 统计 API 的标识符 # dom-rtcicecandidatepairstats-bytesreceived |
浏览器兼容性
BCD 表格仅在启用了 JavaScript 的浏览器中加载。