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

View in English Always switch to English

RTCIceCandidatePairStats:bytesDiscardedOnSend 属性

Limited availability

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

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

RTCIceCandidatePairStats 字典的 bytesDiscardedOnSend 属性返回因套接字错误而丢弃的总字节数。

例如,当套接字已满时尝试发送数据包可能会导致这些错误。

表示由于套接字错误而丢弃的总字节数的整数值。该数值按 RFC 3550, section 6.4.1 中定义的方式计算得出。

规范

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatepairstats-bytesdiscardedonsend

浏览器兼容性