[MediaStream] Enforce max frame rates
Prior to this CL, explicit max frame rates were not enforced if the configured frame rate for the source was less than or equal to the requested max frame rate. This has led to problems with webcams that produce a higher frame rate than configured. This CL changes the VideoTrackAdapter so that frame rate adjustments are disabled only for tracks that do not explicitly request a maximum frame rate. Bug: 1133796 Change-Id: I2e3769493449b552f9440c2a809b512bf9e3690c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2534952 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Commit-Queue: Marina Ciocea <marinaciocea@chromium.org> Auto-Submit: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Marina Ciocea <marinaciocea@chromium.org> Cr-Commit-Position: refs/heads/master@{#826877}
Showing
Please register or sign in to comment