commit | 5dded01501f2e29e9f13de67dcf59d00dc2606de | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Sun Aug 31 17:58:30 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 01 12:38:19 2025 |
tree | 0aafbaa0f531eda6bb0a55e38a4514a73dc73480 | |
parent | fd331a859625f49d495db8eb0bc7a7ffd774de22 [diff] |
Propagate content name to ports at construction time, add sanity checks This sets the Port::content_name (i.e. mid) at construction time and removes one call to `set_content_name()`. One call to `set_content_name()` still remains, which is when sessions are pooled and reused. Because of that, Port::content_name_ can still not be const. However, this CL improves constness in P2PTransportChannel and adds several RTC_DCHECKs to ensure the correctness of the content_name field, including when it belongs to a pooled and not-pooled sessions. Bug: none Change-Id: I9730c2ff13efb33d6ad43f9ca152d8fe93929550 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/407281 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45513}
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.