- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Thu, 19 Jan 2012 11:24:02 +0100
- To: Robin Berjon <robin@berjon.com>
- Cc: Anant Narayanan <anant@mozilla.com>, public-media-capture@w3.org
Le jeudi 19 janvier 2012 à 11:12 +0100, Robin Berjon a écrit :
> This is borderline bikeshedding so I won't insist, but it seems to me that if you pick the right names you can avoid those two levels of nesting:
>
> {
> "audio": false
> , "video": false
> , "channels": "2"
> , "quality": "voip"
> , "camera": "back"
> }
Another option would be to make it so that both true and a dictionary be
taken as valid values for audio/video, and then we could do:
{ audio: {channels: 2, application: voip}, video { orientation:
front} }
You could still use the short form { audio: true, video: true } if you
don't want to give any hints.
Dom
Received on Thursday, 19 January 2012 10:24:29 UTC