Wait for frame delivery to stop in Android codec release release() of AndroidVideoDecoder and HardwareVideoEncoder now returns only after the output thread has stopped delivering frames. Only the release of the MediaCodec itself remains subject to a timeout. Each output thread now releases the codec instance it was created for. The callbacks that the native video decoder and encoder wrappers pass to the Java codecs are now invalidated on release, reconfiguration and destruction. Frames delivered after invalidation are dropped. Bug: chromium:558966896 Change-Id: I300664aad56bbc9e98bdbde72a54c7a641a51ccd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/506620 Reviewed-by: ZoƩ Lepaul <zlep@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48770}
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.