pliCount 特性为 RTCOutboundRtpStreamStats dictionary states the number of times the remote peer's RTCRtpReceiver sent a Picture Loss Indication ( PLI ) packet to the RTCRtpSender for which this object provides statistics. A PLI packet indicates that some amount of encoded video data has been lost for one or more frames.

句法

var pliCount = RTCOutboundRtpStreamStats.pliCount;
					

An integer value indicating the number of times a PLI packet was sent to this sender by the remote peer's RTCRtpReceiver . These are sent by the receiver's decoder to notify the sender's encoder that an undefined amount of coded video data, which may span frame boundaries, has been lost.

注意: This property is only used for video streams.

用法注意事项

Upon receiving a PLI packet, the sender may have responded by sending a full frame to the remote peer to allow it to re-synchronize with the media. However, the primary purpose of a PLI packet is to allow the RTCRtpSender for which this RTCOutboundRtpStreamStats object provides statistics to consider techniques to mitigate network performance issues. This is often achieved by methods such as increasing the compression or lowering resolution, although the mechanisms available to reduce the bit rate of the stream vary from codec to codec.

规范

规范 状态 注释
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.

No compatibility data found. Please contribute data for "api.RTCOutboundRtpStreamStats.pliCount" (depth: 1) to the MDN 兼容性数据存储库 .

另请参阅

  • 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) .

元数据

  • 最后修改: