New issue
Advanced search Search tips

Issue 919930 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Video Capture] Make FakeVideoCaptureDevice use a background thread

Project Member Reported by chfremer@chromium.org, Jan 8

Issue description

The FakeVideoCaptureDevice shipped with chrome is used in many unit and integration tests and can be configured to mimic various behaviors of real video capture devices.

However, there is on important difference, which is that the FakeVideoCaptureDevice does not use its own thread to deliver frames. Instead it operates on the thread of the caller. This difference has already lead to various timing and ordering issues not getting detected by test cases using the fake device.

The task here is to add a configuration option to the fake device that makes it operate on a dedicated thread.
 

Sign in to add a comment