commit | b2be392c708c975ff5a81d8cd4dba588752a8dad | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Fri Sep 02 07:37:08 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 02 09:01:59 2022 |
tree | 79c709715dc894dfec08f1e833a10e540365c2c2 | |
parent | 0abc99762f9cda82b1bf0bfd4defc3f09d333729 [diff] |
Avoid duplicate RTCCodecStats entries. The code incorrectly assumed that codecs exist on a per-mid/transceiver basis, but codec payload types are unique on a per-transport basis and in practise most applications use BUNDLE (single transport for the entire PC). This CL makes the codecs per-transport instead of per-transceiver. We still need to iterate transceivers because codecs are exposed on a per-transceiver basis and as shown in https://jsfiddle.net/henbos/7kqxgnr8/ it is possible for FMTP lines to be different on different m= sections despite BUNDLE. Manual testing shows that this CL brings down the number of "codec" stats in Google Meet 50p from 872 objects to 43 objects. Bug: webrtc:14414 Change-Id: Ic854b31bd595799554b99fff22cbd48264ebd141 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273707 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Philipp Hancke <phancke@microsoft.com> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37989}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.