- From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
- Date: Mon, 21 Sep 2015 11:23:19 +0000
- To: public-media-capture-logs@w3.org
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