New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 665065 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Expose string ids in VideoCaptureDeviceFactory

Project Member Reported by chfremer@chromium.org, Nov 14 2016

Issue description

The interface media::VideoCaptureDeviceFactory currently uses VideoCaptureDeviceDescriptor as key for accessing devices in methods CreateDevice() and GetSupportedFormats(). The VideoCaptureDeviceDescriptor struct contains information that is not needed for identifying a device. It would be cleaner to use the string |device_id| instead.

A translation from device descriptors to device ids is currently happening in DeviceFactoryMediaToMojoAdapter. This translation should move to a new layer between the platform-specific implementations and the clients of the video capture API.

 
Cc: yzshen@chromium.org
Owner: chfremer@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment