Avoid reusing released decoders after SetDecoders() SetDecoders() only deregistered decoders that were removed or changed, but it also reset the decoder database's active payload type. The next frame then released the active decoder and configured the same instance again. Not all decoders support that: Chromium's hardware decoders fail Configure() after Release() and permanently fall back to software decoding. This happens e.g. when the receiving side creates a new offer, since that typically changes the set of receive codecs. Deregister all of the previous decoders instead, so that the factory creates new instances on demand. This matches how decoders were handled before the receive stream stopped being recreated on decoder changes (https://webrtc-review.googlesource.com/c/src/+/494540). Bug: chromium:572220780 Change-Id: Ibe646151c9803aab1e01665b8a70352f09e5c101 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/508961 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48904}
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.