Update FPS selection logic in VideoCaptureCamera to select a wider FPS range.
The code fixes the bug referenced by the bug field. If requested fps is 15 and the camera supports fps ranges 0 - 30, 10 - 20, 14 - 16 and 15 - 15. Previously, we would choose 15 - 15 fps. This is bad because it doesn't leave the camera room to adjust based on the lighting conditions. Heuristic copied from WebRTC chooses the 10 - 20 fps range instead. BUG=630266 Review-Url: https://codereview.chromium.org/2354923002 Cr-Commit-Position: refs/heads/master@{#441755}
Showing
Please register or sign in to comment