Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update applyConstraints() to restart video content source
Restart the video content source (desktop, window, and tab capture) with the new constraints when applyConstraints is called. This fixes an issue where the source frame rate would remain at a high fps even though applyConstraints() was called with a low max fps. This resulted in a high percentage of dropped frames and unnecessarily high CPU usage. The feature is enabled by default but can be forced off by disabling the feature ApplyConstraintsRestartsVideoContentSources. Bug: chromium:1417195 Change-Id: Ia4b43fe1852120ea928aec3c65a0cfd0049f22ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4314019 Reviewed-by: Elad Alon <eladalon@chromium.org> Reviewed-by: Guido Urdaneta <guidou@chromium.org> Commit-Queue: Johannes Kron <kron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1117569}
- Loading branch information
Johannes Kron
authored and
Chromium LUCI CQ
committed
Mar 15, 2023
1 parent
529e1c6
commit a9e8bd8
Showing
10 changed files
with
597 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.