[getUserMedia] Enforce explicitly requested frame rates
This CL ensures that if an ideal or max frame rate is requested via constraints in getUserMedia(), the requested rate will be enforced using frame-rate adjustment, if necessary. Even if the requested rate equals the reported native frame rate being used by the device. In practice, it has been reported that actual frame rates sometimes exceed the rate reported by the device, so this ensures that explicitly requested rates are produced in practice. Prior to this CL, if the requested rate matched the rate reported by the device, no attempts to adjust the frame rate were made. Fixed: 1133796 Change-Id: If0699f97292b3bccc69205f861f059660355cc11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440758 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Marina Ciocea <marinaciocea@chromium.org> Auto-Submit: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#812684}
Showing
This diff is collapsed.
Please register or sign in to comment