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.