The sliCount
property of the RTCRtpStreamStats
dictionary indicates how many Slice Loss Indication (SLI) packets were received by the sender. 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 the received media.
Syntax
var sliCount = RTCRtpStreamStats.sliCount;
Value
An unsigned long integer indicating the number of SLI packets the sender received from the receiver due to lost runs of macroblocks. A high value of sliCount
may be an indication of an unreliable network.
For technical details, see RFC 4585: 6.3.2.
Note: This value is sent by the sender to the receiver and is only present for video media.
Specifications
Specification | Status | Comment |
---|---|---|
Identifiers for WebRTC's Statistics API The definition of 'RTCInboundRtpStreamStats: sliCount' in that specification. |
Candidate Recommendation | Initial definition. |
Identifiers for WebRTC's Statistics API The definition of 'RTCOutboundRtpStreamStats: sliCount' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sliCount | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera No support No | Safari ? | WebView Android No support No | Chrome Android No support No | Firefox Android No support No | Opera Android No support No | Safari iOS ? | Samsung Internet Android No support No |
Legend
- No support
- No support
- Compatibility unknown
- Compatibility unknown
See also
- RFC 4585: 6.3.2: Definition of "Slice Loss Indication" in the document Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF).