W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > August 2015

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Aug 2015 19:30:12 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-130419507-1439407812-sysbot+gh@w3.org>
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 

GitHub Notif of comment by alvestrand
Received on Wednesday, 12 August 2015 19:30:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:27 UTC