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

To avoid creating an empty ```OutputCapabilites``` dictionary we could
 actually leave ```MediaDeviceInfo``` as is and derive a new 
```InputDeviceInfo``` from it and let ```getCapabilites()``` live on 
that type with a simple return value. That way, output devices 
wouldn't have a ```getCapabilites()``` (they are of type 
```MediaDeviceInfo```)  until we add the corresponding 
```OutputDeviceInfo``` with its own ```getCapabilites()``` method.

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

Received on Monday, 21 September 2015 11:23:20 UTC