commit | 8b0ebb9484fb3b97514c0492407e20aca50b0908 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Wed Feb 07 20:09:11 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 07 20:51:51 2018 |
tree | 5a6624cc7d0348dbd27299c6c0e7f8ddf62d952d | |
parent | 7ff6ca584499d078df9a00ee20c9b11e90e64d66 [diff] |
Change FakePeriodicVideoCapturer to use a TaskQueue instead of Thread. This changes callbacks to OnFrame methods to occur on a task queue which is in line with how it's called in production. The change is essentially around inheriting from FakeVideoCapturerWithTaskQueue instead of FakeVideoCapturer, but also removes the dependency on rtc::MessageHandler. Along the way I'm also updating an ortc test that uses FakePeriodicVideoCapturer and had a bug that was masked by the fact that FakePeriodicVideoCapturer previously used rtc::Thread::Current internally, but was being called by the wrong thread (and there were no checks for it). As a result, I'm also adding a bunch of checks to help with correct usage. Bug: webrtc:8841, webrtc:8848 Change-Id: I21b710873b508ebc55f8d2e4545d862766656871 Reviewed-on: https://webrtc-review.googlesource.com/49400 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21951}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.