Skip to content

Commit 00b72ab

Browse files
committed
RTCInboundRtpStreamStats tidy a few
1 parent f8af10d commit 00b72ab

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

files/en-us/web/api/rtcinboundrtpstreamstats/framesdecoded/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ The **`framesDecoded`** property of the {{domxref("RTCInboundRtpStreamStats")}}
1212

1313
This represents the number of frames that would have been displayed assuming no frames were skipped.
1414

15+
> [!NOTE]
16+
> The property is undefined for audio streams.
17+
1518
## Value
1619

1720
An positive integer.
@@ -23,3 +26,7 @@ An positive integer.
2326
## Browser compatibility
2427

2528
{{Compat}}
29+
30+
## See also
31+
32+
- {{domxref("RTCInboundRtpStreamStats.totalDecodeTime", "totalDecodeTime")}}

files/en-us/web/api/rtcinboundrtpstreamstats/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} re
3737
- : A positive integer that indicates the total number of correctly decoded frames for this RTP stream that consist of more than one RTP packet.
3838
_Undefined for audio streams._
3939
- {{domxref("RTCInboundRtpStreamStats.framesDecoded", "framesDecoded")}}
40-
- : A long integer value that indicates 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._
40+
- : A long integer value that indicates 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.
41+
_Undefined for audio streams._
4142
- {{domxref("RTCInboundRtpStreamStats.framesPerSecond", "framesPerSecond")}}
4243
- : A positive integer that indicates the number of frames decoded in the last second.
4344
_Undefined for audio streams._
@@ -96,7 +97,8 @@ The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} re
9697
- : A number that represents the total audio energy of the received track over the lifetime of the stats object.
9798
_Undefined for video streams._
9899
- {{domxref("RTCInboundRtpStreamStats.totalDecodeTime", "totalDecodeTime")}}
99-
- : TBD.
100+
- : A number that indicates the total time spent decoding frames in this stream, in seconds.
101+
_Undefined for audio streams._
100102
- {{domxref("RTCInboundRtpStreamStats.totalFreezesDuration", "totalFreezesDuration")}}
101103
- : TBD.
102104
- {{domxref("RTCInboundRtpStreamStats.totalInterFrameDelay", "totalInterFrameDelay")}}

files/en-us/web/api/rtcinboundrtpstreamstats/insertedsamplesfordeceleration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ A positive integer.
3737
## See also
3838

3939
- {{domxref("RTCInboundRtpStreamStats.removedSamplesForAcceleration")}}
40-
- [The better way](https://webrtchacks.com/how-webrtcs-neteq-jitter-buffer-provides-smooth-audio/#post-4560-_mv3ivinthkf5) in "How WebRTCs NetEQ Jitter Buffer Provides Smooth Audio" (webrtchacks.com, June 2025)
40+
- [The better way](https://webrtchacks.com/how-webrtcs-neteq-jitter-buffer-provides-smooth-audio/#post-4560-_mv3ivinthkf5) in "How WebRTC's NetEQ Jitter Buffer Provides Smooth Audio" (webrtchacks.com, June 2025)

files/en-us/web/api/rtcinboundrtpstreamstats/playoutid/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ slug: Web/API/RTCInboundRtpStreamStats/playoutId
55
page-type: web-api-instance-property
66
browser-compat: api.RTCStatsReport.type_inbound-rtp.playoutId
77
---
8+
89
{{APIRef("WebRTC")}}
910

1011
The **`playoutId`** property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary indicates the {{domxref("RTCAudioPlayoutStats.id", "id")}} of the {{domxref("RTCAudioPlayoutStats")}} object that corresponds to this stream.

files/en-us/web/api/rtcinboundrtpstreamstats/removedsamplesforacceleration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ A positive integer.
4343
## See also
4444

4545
- {{domxref("RTCInboundRtpStreamStats.insertedSamplesForDeceleration")}}
46-
- [The better way](https://webrtchacks.com/how-webrtcs-neteq-jitter-buffer-provides-smooth-audio/#post-4560-_mv3ivinthkf5) in "How WebRTCs NetEQ Jitter Buffer Provides Smooth Audio" (webrtchacks.com, June 2025)
46+
- [The better way](https://webrtchacks.com/how-webrtcs-neteq-jitter-buffer-provides-smooth-audio/#post-4560-_mv3ivinthkf5) in "How WebRTC's NetEQ Jitter Buffer Provides Smooth Audio" (webrtchacks.com, June 2025)

0 commit comments

Comments
 (0)