commit | 16359f65c49ede25bcd8d1f829630d6813681940 | [log] [tgz] |
---|---|---|
author | Johannes Kron <kron@webrtc.org> | Thu Feb 18 22:37:22 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 19 12:08:49 2021 |
tree | 2bb8088e6477385d7be08ee92073bd18ff62b552 | |
parent | c9b9930c97400b6a52449cdeb9886f58c6fad323 [diff] |
Delay creation of decoders until they are needed Before this CL, WebRTC created a decoder for each negotiated codec profile. This quickly consumed all available HW decoder resources on some platforms. This CL adds a field trial, WebRTC-PreStreamDecoders, that makes it possible to set how many decoders that should be created up front, from 0 to ALL. If the field trial is set to 1, we only create a decoder for the preferred codec. The other decoders are only created when they are needed (i.e., if we receive the corresponding payload type). Bug: webrtc:12462 Change-Id: I087571b540f6796d32d34923f9c7f8e89b0959c5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208284 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33300}
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.