Re: [mediacapture-main] Allow device capabilities to be discoverable via enumerateDevices

The logic of how we got here is kind of a step by step process.

- We want to list both input and output devices. Sometimes we even 
want to indicate groupings between them. So we create one interface to
 get info on them: enumerateDevices.
- We want to be able to get capabilities of input devices without 
actually opening the device. So we add capabilities to the info 
returned by enumerateDevices.
- For some properties (example: channel count), it's obvious how they 
would apply to output devices. It seems strange to need to go to a 
second API to get information about the properties of the output 
devices. Thus, it seems logical to add this too to information 
returned by enumerateDevices.

Each step seems logical. But if we're unhappy with the state at the 
end, we should think about which step is the one that doesn't hang 
together.

-- 
GitHub Notif of comment by alvestrand
See 
https://github.com/w3c/mediacapture-main/pull/211#issuecomment-130419507

Received on Wednesday, 12 August 2015 19:30:14 UTC