commit | 5b030cabcc8e466f0ed495df9c0f7b08f4a8deb2 | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Fri Dec 06 15:51:29 2019 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 09 10:11:00 2019 +0000 |
tree | d8661644b2af1edfd03d0323a1948a4c3bc0f2ae | |
parent | dfbfb46062458cf4a86318e698ce1d1dab145753 [diff] |
Change jni VideoEncoderWrapper to not use the encoder task queue If the task to call OnEncodedImage is posted to the encoder task queue just after VideoStreamEncoder::Stop post the task to release the encoder, the destruction sequence of java HardwareVideoEncoder deadlocks in outputBuffersBusyCount.waitForZero(); Encoders are generally allowed to call OnEncodedImage on any internal encoder thread, so posting to the encoder task queue seems unnecessary. Bug: webrtc:9378 Change-Id: Iee14f151d9efdc5ab348f9c86069fdb762e6a0dc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161447 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30035}
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.