| commit | d67b967ab1f60cfbecc641e75114bb6fc1522dc3 | [log] [tgz] |
|---|---|---|
| author | Tommi <tommi@webrtc.org> | Mon Nov 24 02:31:44 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 24 02:36:38 2025 |
| tree | a3425565ac9996cfc17592cdac00b681e583fcb5 | |
| parent | 5ad43cfbd86bea8b9976062735b3394159c9e4aa [diff] |
Replace std::map with flat_map in JsepTransportCollection This change replaces std::map with flat_map in JsepTransportCollection to improve memory locality and improve compatibility with string_view. Additionally, the Jsep class interface is updated to more consistently use absl::string_view instead of std::string& for mid and transport_name. Affected methods include `GetTransportForMid`, `LookupGroupByMid`, and `OnTransportChanged`. The method signature updates are propagated to `JsepTransportController` and `PeerConnection` to match the new interface. Bug: none Change-Id: I7a2270325228f963a6895bf023076b2089a84d82 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/427661 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46284}
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.