| commit | 8ebf04295c7df2693af50ff33232919ca01abef0 | [log] [tgz] |
|---|---|---|
| author | Tommi <tommi@webrtc.org> | Thu Nov 27 12:02:56 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 27 14:35:16 2025 |
| tree | 58c2779e5dbc599090c1c096b65f85968c46d1a8 | |
| parent | 8e4a86ee692703ea5c75057a8a0d7df7aba3381f [diff] |
Refactor DTLS transport ownership to RtpTransport. Transfers ownership of the RTP and RTCP DTLS transports from JsepTransport to the underlying RtpTransport (via DtlsSrtpTransport). This aligns the ownership model, simplifies JsepTransport, and allows JsepTransport to treat the API wrapper (scoped_refptr<DtlsTransport>) as a pure dependency injected by the controller. Key changes: - RtpTransport/DtlsSrtpTransport now own the DtlsTransportInternal. - Construction of the DtlsTransport object has been moved to JsepTransportController but JsepTransport continues to call the Clear() method when it goes out of scope to ensure alignment across objects that may (still) have raw pointers to the transports. - JsepTransportController handles creation and injection of both the internal transport and the API wrapper. This makes construction steps a bit clearer and will help with getting closer to RAII. - Avoid a potential case where enabling RTCP mux could cause SRTP resets. Bug: webrtc:360058654 Change-Id: I18f9b4eb7109a53e9674ae5275ecf707ca7e41eb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/428621 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46336}
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.