commit | 1933d3b677f5f597f03cbea87750f70be60bb069 | [log] [tgz] |
---|---|---|
author | Tomas Gunnarsson <tommi@webrtc.org> | Mon Jan 17 10:25:21 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 17 14:06:42 2022 |
tree | abbc453637bb2066a5be2d1f05f870946eebc6de | |
parent | cc9b7ec7401880e4c14e5c76c4637e191ab4490a [diff] |
Move network thread invokes for initialization for media channels, out. Remove Init_w and Deinit(), both of which were wrappers around Invoke() calls from the worker thread to the network thread. Instead, replace them with Init_n() and Deinit_n() that are currently* required to be called by external code in order to associate/disassociate the channels with the transport. This CL mostly moves things around in order to prepare for upcoming changes, but it does change channel destruction in the following way: - When destroying channels, we don't block the worker thread anymore while uninitialization happens on the network thread. Previously both signal and worker threads were blocked during the uninitialization in the ChannelManager. * In an upcoming CL, Init_n() and Deinit_n() will be called internally from a different method that's always called on the network thread when a channel is associated/disassociated with a transceiver. When we're there, we will have removed several invokes that currently are a part of constructing/destructing channel objects. Bug: webrtc:11992 Change-Id: Ibc30447a40749ceb36d37834b0cfc5c5ea60e895 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/246502 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35707}
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.