commit | fbd0ddb32e3af6d131fa6ce537c5772c182cf64c | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Fri Feb 17 15:51:59 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 20 14:01:32 2023 |
tree | 6785eccbdc9fbd816fac61c9d01989314e049067 | |
parent | 3637fe5117d504a1f6babf70651fbcb838a67eaf [diff] |
Introduce WebRTC-VideoEncoderSettings/encoder_thread_limit:X. As requested by a CEF hosted application (https://crbug.com/1406331) who want to be able to limit the number of threads in a controlled environment, this CL adds a flag to control the max limit per encoder. For plumbing-reasons, this is placed in VideoEncoder::Settings but with a note that this is considered an experimental API with limited support. For now only LibvpxVp8Encoder uses it and there are no plans to roll this out. I have manually confirmed this is working with printf debugging, --force-fieldtrials=WebRTC-VideoEncoderSettings/encoder_thread_limit:2 and https://jsfiddle.net/henbos/2bd6m7Lt/ Bug: chromium:1406331 Change-Id: Ib02bd83e2071034874843d3aaa0d3b0adc5bbf46 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/293960 Reviewed-by: Markus Handell <handellm@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39349}
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.