commit | 7b77532b0e7c57e2562f4d3255bbd1279eeefb29 | [log] [tgz] |
---|---|---|
author | Philipp Hancke <phancke@meta.com> | Mon Apr 14 18:56:07 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 14 20:37:18 2025 |
tree | 8837d75b7a574822d66070c201e0f49726d9e23d | |
parent | 70cac8220d8e7b9372a913c831d304a30ab5a1ed [diff] |
Avoid inserting duplicate rids into the vector of disabled rids This prevents a crash when doing the following: * client adds a tranceiver with simulcast and sends an offer * peer does not negotiate simulcast, all but the first rid get disabled * client sends another offer. Peer still does not negotiate simulcast. The rids are disabled again. * client calls getParameters and setParameters which ran into a CHECK checking for the number of layers: parameters.encodings.size() + removed_rids.size() == all_layers.size() (5 vs. 3) BUG=chromium:399667359 Change-Id: Idcd490cec9cbacf28786f66b5deece31aaac6d00 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/382580 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Philipp Hancke <phancke@meta.com> Cr-Commit-Position: refs/heads/main@{#44373}
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.