firCount
特性为
RTCRtpStreamStats
dictionary indicates the number of
Full Intra Request
(
FIR
) packets have been sent by the receiver to the sender.
This is a measure of how often the stream falls behind and has to skip frames in order to catch up.
var firCount = RTCRtpStreamStats.firCount;
An integer value indicating how many FIR packets have been received by the sender during the current connection. This value is available only on receivers for video tracks.
The receiver sends a FIR packet to the sender any time it falls bahind or loses packets and cannot decode the incoming stream any longer because of the lost data. This tells the sender to send a full frame instead of a delta frame, so that the receiver can catch up.
The higher
firCount
is, the more often frames were dropped, which may be an indication that the media's bit rate is too high for the available bandwidth, or that the receiving device is overburdened and is therefore unable to process the incoming data.
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
firCount
|
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 |
完整支持
不支持
兼容性未知
RTCRtpStreamStats
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent