sliCount
特性为
RTCInboundRtpStreamStats
dictionary indicates how many
Slice Loss Indication
(
SLI
) packets the
RTCRtpReceiver
for which this object provdes statistics sent to the remote
RTCRtpSender
.
An SLI packet is used by a decoder to let the encoder know that it's detected corruption of one or more consecutive macroblocks (in scan order) in the received media.
In general, what's usually of interest is that the higher this number is, the more the stream data is becoming corrupted between the sender and the receiver, requiring resends or dropping frames.
var sliCount = rtcInboundRtpStreamStats.sliCount;
An unsigned integer indicating the number of SLI packets this receiver sent to the remote sender due to lost runs of macroblocks. A high value of
sliCount
may be an indication of an unreliable network.
This is a very technical part of how video codecs work. For details, see RFC 4585: 6.3.2 .
注意: This value is only present for video media.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Identifiers for WebRTC's Statistics API
The definition of 'RTCInboundRtpStreamStats.sliCount' in that specification. |
候选推荐 | 初始定义。 |
No compatibility data found. Please contribute data for "api.RTCInboundRtpStreamStats.sliCount" (depth: 1) to the MDN 兼容性数据存储库 .
RTCInboundRtpStreamStats
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent