pliCount 特性为 RTCRtpStreamStats dictionary states the number of times the stream's receiving end sent a Picture Loss Indication ( PLI ) packet to the sender. A PLI packet indicates that some amount of encoded video data has been lost for one or more frames.

句法

var pliCount = RTCRtpStreamStats.pliCount;
					

An integer value indicating the number of times a PLI packet was sent by the stream's receiver to the sender.

A PLI message is used by video decoders (running on the receiving end of the stream) to notify the encoder (the sender) that an undefined amount of coded video data, which may span frame boundaries, has been lost.

This may trigger the sender to send a full frame in order to allow the receiver to re-synchronize, since lost data may be an irrecoverable situation for decoding media. However, the primary purpose of this message is to allow the sender to consider techniques to mitigate network performance issues. This is often achieved by methods such as increasing the compression, lowering resolution, or finding other ways to reduce the bit rate of the stream.

注意: This value is only available on the receiver, and only for video media.

规范

规范 状态 注释
Identifiers for WebRTC's Statistics API
The definition of 'RTCInboundRtpStreamStats: pliCount' in that specification.
候选推荐 初始定义。
Identifiers for WebRTC's Statistics API
The definition of 'RTCOutboundRtpStreamStats: pliCount' in that specification.
候选推荐 初始定义。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
pliCount Chrome No Edge No Firefox 55 IE No Opera No Safari ? WebView Android No Chrome Android No Firefox Android 55 Opera Android No Safari iOS ? Samsung Internet Android No

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

另请参阅

  • RFC 4585: 6.3.1 : Definition of "PLI messages" in the document Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF) .

元数据

  • 最后修改: