Skip to content

Commit

Permalink
add rtxSsrc to inbound-rtp and outbound-rtp stats and fecSsrc to inbo…
Browse files Browse the repository at this point in the history
…und-rtp (#765)

* add rtxSsrc to inbound-rtp and outbound-rtp stats

previously defined in
  https://w3c.github.io/webrtc-provisional-stats/#dom-rtcoutboundrtpstreamstats-rtxssrc
(only for outbound)

fixes #751 (once again)

* add inbound-rtp fecSsrc

* fix fec wording
  • Loading branch information
fippo authored Aug 3, 2023
1 parent 8b73fd4 commit 64a081f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions webrtc-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,8 @@ <h3>
double totalAssemblyTime;
unsigned long long retransmittedPacketsReceived;
unsigned long long retransmittedBytesReceived;
unsigned long rtxSsrc;
unsigned long fecSsrc;
};</pre>
<section>
<h2>
Expand Down Expand Up @@ -1737,6 +1739,28 @@ <h2>
negotiated, retransmitted packets can not be identified and this member does not [= map/exist =].
</p>
</dd>
<dt>
<dfn>rtxSsrc</dfn> of type <span class=
"idlMemberType">unsigned long</span>
</dt>
<dd>
<p>
If RTX is negotiated for retransmissions on a separate <a>RTP stream</a>, this is the SSRC
of the RTX stream that is associated with this stream's {{RTCRtpStreamStats/ssrc}}.
If RTX is not negotiated, this value is not present.
</p>
</dd>
<dt>
<dfn>fecSsrc</dfn> of type <span class=
"idlMemberType">unsigned long</span>
</dt>
<dd>
<p>
If a FEC mechanism that uses a separate <a>RTP stream</a> is negotiated, this is the SSRC
of the FEC stream that is associated with this stream's {{RTCRtpStreamStats/ssrc}}.
If FEC is not negotiated or uses the same <a>RTP stream</a>, this value is not present.
</p>
</dd>
</dl>
</section>
</div>
Expand Down Expand Up @@ -1883,6 +1907,7 @@ <h3>
unsigned long long headerBytesSent;
unsigned long long retransmittedPacketsSent;
unsigned long long retransmittedBytesSent;
unsigned long rtxSsrc;
double targetBitrate;
unsigned long long totalEncodedBytesTarget;
unsigned long frameWidth;
Expand Down Expand Up @@ -1992,6 +2017,17 @@ <h2>
accounted for here.
</p>
</dd>
<dt>
<dfn>rtxSsrc</dfn> of type <span class=
"idlMemberType">unsigned long</span>
</dt>
<dd>
<p>
If RTX is negotiated for retransmissions on a separate <a>RTP stream</a>, this is the SSRC
of the RTX stream that is associated with this stream's {{RTCRtpStreamStats/ssrc}}.
If RTX is not negotiated, this value is not present.
</p>
</dd>
<dt>
<dfn>targetBitrate</dfn> of type <span class=
"idlMemberType">double</span>
Expand Down

0 comments on commit 64a081f

Please sign in to comment.