commit | c9625f09dec8d43d65652277c83d1163265ae806 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Thu May 06 20:03:19 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 07 14:16:21 2021 |
tree | 08654aebefcd1bfcac85cea7e4444a3022ab287d | |
parent | ad5037b4a81cf97c54c5b15fda8ee898f1827e58 [diff] |
Make MediaChannel classes aware of the network thread. This CL mostly adds plumbing to get awareness of the network thread to the media channel classes. Currently this pointer is only used to DCHECK that `SetInterface` for the `NetworkInterface` pointer, is called on the network thread. Follow up changes will establish that most of the methods are called on the network thread and the mutex in the MediaChannel base class, can be removed. Most of the changes in the CL are in channel_unittest.cc. They're mostly around updating the tests to incorporate the network thread in ways that reflect how the classes are used in production. Another change is to use accessor methods for the media channel instances instead of caching potentially dangling pointers. Bug: webrtc:11993 Change-Id: I8e2ed1bc23724e238554dbce386789d69660f7e4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217682 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33951}
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.