| commit | 6d15b49fbd111ed1be040333f7a80c627dbb70c8 | [log] [tgz] |
|---|---|---|
| author | Tommi <tommi@webrtc.org> | Fri Sep 26 15:16:57 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 26 16:48:37 2025 |
| tree | e45927ec8fcdbbd72873fae513049c748ccd51a7 | |
| parent | 357a26c099b5a18ff751e0f58e606dc36dabdc00 [diff] |
Enforce const access to media engine from signaling thread Restrict access to `MediaEngineInterface` from the signaling thread by providing only a `const` pointer. This limits interactions to `const` methods and state, transitively reducing the API surface for the voice and video engines on this thread. This change improves thread safety by preventing incorrect usage. All non-`const` operations on the media engine must run on the worker thread, and this restriction now enforces that rule at compile time, reducing the risk of concurrency errors. Bug: none Change-Id: I48a64222a7db2c9d03f2e42496ca3bcd28ec3a51 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/412321 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45752}
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.