FrameSinkVideoCapturer: Ensure refresh frame requests.
Due to a minor oversight, the FrameSinkVideoCapturer will occasionally drop refresh frame requests. This is because the VideoCaptureOracle can reject the request for a frame capture, based on its own sampling heuristics. This change adds a simple mechanism where a "retry timer" is started if this should occur. The "retry" is canceled if other frame captures are triggered in the meantime. Essentially, this guarantees that the consumer will eventually receive a new video frame after making a refresh request for one. Bug: 785072 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ic3dd0d5ca1f8cb48193123e714ed8cf89076f953 Reviewed-on: https://chromium-review.googlesource.com/838320Reviewed-by:Xiangjun Zhang <xjz@chromium.org> Commit-Queue: Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#527093}
Showing
Please register or sign in to comment