Enhance ScopedOperationsBatcher to support tasks returning tasks. A common pattern for negotiation operations that involve the signaling thread as well as one or both of the worker/network threads, is to a) apply partial state on the signaling thread, b) perform work on the worker/network thread(s), c) run completion work on the signaling thread that depends on the outcome of the previous step. This adds support for that pattern to the ScopedOperationsBatcher so that this pattern can be applied to batched operations. Bug: webrtc:42222804 Change-Id: I776786216208991c1716a1ab2808c9b37f30ead8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/449362 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47195}
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.