Search completed in 1.14 seconds.
8 results for "framesdecoded":
RTCInboundRtpStreamStats.framesDecoded - Web APIs
Web › API › RTCInboundRtpStreamStats › framesDecoded
Candidate Recommendation Initial definition. ...
... Candidate Recommendation Initial definition. ...
... Candidate Recommendation Initial definition. ...
...tpStreamStats.framesDecoded; Value An integer value indicating the total number of video frames which have been decoded for this stream so far. This represents the number of frames that would have been displayed assuming no frames were skipped. Specifications Specification Status Comment Identifiers for WebRTC's Statistics APIThe definition of 'RTCInboundRtpStreamStats.framesDecoded' in that specification. Candidate Recommendation Initial definition. ...
RTCInboundRtpStreamStats.qpSum - Web APIs
Web › API › RTCInboundRtpStreamStats › qpSum
a more compressible. The quantization process and the amount of compression can be controlled using one or more parameters. It's important to keep in mind that the value of QP can change periodically--even every frame--so it's difficult to know for certain how substantial the compression is. The best you can do is make an estimate. You can, for example, use the value of RTCReceivedRtpStreamStats.framesDecoded if receiving the media or RTCSentRtpStreamStats.framesEncoded if sending it to get the number of frames handled so far, and compute an average from there. See Calculating average quantization below for a function that does this. Also, the exact meaning of the QP value depends on the codec being used. For example, for the VP8 codec, the QP value can be anywhere from 1 to 127 and is found in the f...
...ample Calculating average quantization The calculateAverageQP() function shown below computes the average QP for the given RTCStats object that contains RTP stream statistics, returning 0 if the object doesn't describe an RTP stream. function calculateAverageQP(stats) { let frameCount = 0; switch(stats.type) { case "inbound-rtp": case "remote-inbound-rtp": frameCount = stats.framesDecoded; break; case "outbound-rtp": case "remote-outbound-rtp": frameCount = stats.framesEncoded; break; default: return 0; } return status.qpSum / frameCount; } Specifications Specification Status Comment Identifiers for WebRTC's Statistics APIThe definition of 'RTCInboundRtpStreamStats.qpSum' in that specification. Candidate Recomm...
RTCInboundRtpStreamStats - Web APIs
Web › API › RTCInboundRtpStreamStats
d when FEC packets arrive in-band along with media content; this can happen with Opus, for example. firCount An integer value which indicates the total number of Full Intra Request (FIR) packets which this receiver has sent to the sender. This is an indicator of how often the stream has lagged, requiring frames to be skipped in order to catch up. This value is only available for video streams. framesDecoded A long integer value indicating the total number of frames of video which have been correctly decoded so far for this media source. This is the number of frames that would have been rendered if none were dropped. Only valid for video streams. lastPacketReceivedTimestamp A DOMHighResTimeStamp indicating the time at which the last packet was received for this source. The timestamp property, on t...
...ying the number of times the receiver has notified the sender that some amount of encoded video data for one or more frames has been lost, using Picture Loss Indication (PLI) packets. This is only available for video streams. qpSum A 64-bit value containing the sum of the QP values for every frame decoded by this RTP receiver. You can determine the average QP per frame by dividing this value by framesDecoded. Valid only for video streams. receiverId A string indicating which identifies the RTCAudioReceiverStats or RTCVideoReceiverStats object associated with the stream's receiver. This ID is stable across multiple calls to getStats(). remoteId A string which identifies the RTCRemoteOutboundRtpStreamStats object that provides statistics for the remote peer for this same SSRC. This ID is stable acr...
RTCRemoteOutboundRtpStreamStats.localId - Web APIs
Web › API › RTCRemoteOutboundRtpStreamStats › localId
let endInboundStats = findReportEntry(endReport, "remoteId", endRemoteOutbound.id); let elapsedTime = (endRemoteOutbound.timestamp - startRemoteOutbound.timestamp) / 1000; /* in seconds */ let packetsSent = endRemoteOutbound.packetsSent - startRemoteOutbound.packetsSent; let bytesSent = endRemoteOutbound.bytesSent - startRemoteOutbound.bytesSent; let framesDecoded = endInboundStats.framesDecoded - startInboundStats.framesDecoded; let frameRate = framesDecoded / elapsedTime; let timeString = ""; if (!isNaN(elapsedTime)) { timeString = ` representing ${elapsedTime}s`; } let frameString = ""; if (!isNaN(framesDecoded)) { frameString = `Decoded ${framesDecoded} frames for a f...
...conds to seconds. We compute the number of packets sent during this interval--packetsSent--by subtracting the two reports' values for the packetsSent property. Similarly, the number of bytes sent during this interval--bytesSent--is calculated by subtracting the starting statistics object's bytesSent property from that of the ending statistics. The number of frames decoded during this interval--framesDecoded--is determined by subtracting startRecord's framesDecoded from endRecord.framesDecoded. Finally, the frame rate over the elapsed time span is calculated by dividing framesDecoded by elapsedTime. The remainder of the networkTestStop() function constructs the HTML used to display the output of the collected and computed results to the user, then append it to the element statsBox, which we're usi...
RTCRtpStreamStats.qpSum - Web APIs
Web › API › RTCRtpStreamStats › qpSum
a more compressible. The quantization process and the amount of compression can be controlled using one or more parameters. It's important to keep in mind that the value of QP can change periodically--even every frame--so it's difficult to know for certain how substantial the compression is. The best you can do is make an estimate. You can, for example, use the value of RTCReceivedRtpStreamStats.framesDecoded if receiving the media or RTCSentRtpStreamStats.framesEncoded if sending it to get the number of frames handled so far, and compute an average from there. See Calculating average quantization below for a function that does this. Also, the exact meaning of the QP value depends on the codec being used. For example, for the VP8 codec, the QP value can be anywhere from 1 to 127 and is found in the f...
...ifications for details. Example Calculating average quantization The calculateAverageQP() function shown below computes the average QP for the given RTCRtpStreamStats object, returning 0 if the object doesn't describe an RTP stream. function calculateAverageQP(stats) { let frameCount = 0; switch(stats.type) { case "inbound-rtp": case "remote-inbound-rtp": frameCount = stats.framesDecoded; break; case "outbound-rtp": case "remote-outbound-rtp": frameCount = stats.framesEncoded; break; default: return 0; } return status.qpSum / frameCount; } Specifications Specification Status Comment Identifiers for WebRTC's Statistics APIThe definition of 'RTCInboundRtpStreamStats: qpSum' in that specification. Candidate Recom...
Index - Web APIs
Web › API › Index
3374 RTCInboundRtpStreamStats.firCount API, FIR, Frames, Property, RTCIncomingRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, firCount, stream The firCount property of the RTCInboundRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) packets have been sent by the receiver to the sender. 3375 RTCInboundRtpStreamStats.framesDecoded API, Decode, Frames, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, decoding, framesDecoded, stream The framesDecoded property of the RTCInboundRtpStreamStats dictionary indicates the total number of frames which have been decoded successfully for this media source. 3376 RTCInboundRtpStreamStats.lastPacketReceivedTimes...
RTCOutboundRtpStreamStats.qpSum - Web APIs
Web › API › RTCOutboundRtpStreamStats › qpSum
ample Calculating average quantization The calculateAverageQP() function shown below computes the average QP for the given RTCStats object that contains RTP stream statistics, returning 0 if the object doesn't describe an RTP stream. function calculateAverageQP(stats) { let frameCount = 0; switch(stats.type) { case "inbound-rtp": case "remote-inbound-rtp": frameCount = stats.framesDecoded; break; case "outbound-rtp": case "remote-outbound-rtp": frameCount = stats.framesEncoded; break; default: return 0; } return status.qpSum / frameCount; } Specifications Specification Status Comment Identifiers for WebRTC's Statistics APIThe definition of 'RTCOutboundRtpStreamStats.qpSum' in that specification. Candidate Recom...
RTCRtpStreamStats - Web APIs
Web › API › RTCRtpStreamStats
ideo data for one or more frames. Only the receiver has this value, and it's only valid for video tracks. qpSum The sum of the Quantization Parameter (QP) values associated with every frame received to date on the video track described by this RTCRtpStreamStats object. In general, the higher this number is, the more heavily compressed the video track was. Combined with RTCReceivedRtpStreamStats.framesDecoded or RTCSentRtpStreamStats.framesEncoded, you can approximate the average QP over those frames, keeping in mind that codecs often vary the quantizer values even within frames. Also keep in mind that the values of QP can vary from codec to codec, so this value is only potentially useful when compared against the same codec. sliCount The number of times the receiver notified the sender that one or ...