webrtc/api/stats
Henrik Boström da6297dc53 [Stats] Avoid DCHECK crashing if SSRCs are not unique.
To properly handle SSRC collisions in non-BUNDLE we need to change how
RTP stats IDs are generated, but that is a riskier change to be dealt
with in a separate CL.

For now, we just make sure that crashing is not a possibility during
SSRC collisions as a mitigation for https://crbug.com/1361612. This is
achieved by adding a TryAddStats() method to RTCStatsReport returning
whether successful.

Bug: chromium:1361612
Change-Id: I8577ae4c84a7c1eb3c7527e9efd8d1b0254269a3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275766
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38197}
2022-09-26 10:28:01 +00:00
..
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00
rtc_stats.h stats: replace new with std::make_unique 2022-09-07 11:06:19 +00:00
rtc_stats_collector_callback.h Remove virtual inheritance from RTCStatsCollector 2021-04-23 08:40:35 +00:00
rtc_stats_report.h [Stats] Avoid DCHECK crashing if SSRCs are not unique. 2022-09-26 10:28:01 +00:00
rtcstats_objects.h Implement RTCOutboundRtpStreamStats.targetBitrate for video 2022-09-22 12:37:30 +00:00