Timeout hanging video capture start
Add a timeout when starting video capture for a local device, to gracefully handle the case where a device never starts. Deadline initially picked at 10s, and able to be disabled by a Feature flag in the unlikely case that this has negative effects. Tested locally by inserting an artificial delay in the VideoCaptureHost handling. Bug: 1121470 Change-Id: I1e46b1d00ae860386a34f5704554bf7cfa8972db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2475914 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#818798}
Showing
Please register or sign in to comment