W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > November 2017

Re: [mediacapture-main] Undefined how video dimension constraints are met

From: stefan hakansson via GitHub <sysbot+gh@w3.org>
Date: Fri, 03 Nov 2017 13:14:14 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-341699641-1509714853-sysbot+gh@w3.org>
@jan-ivar I may very well have gotten things wrong, that happens all the time :)

Could you explain what you think should happen if 
* ```getUserMedia``` is called with ```video``` as only argument
* doing ```getSettings()```  on the resulting ```video``` track returns a ```width``` of 1920 and a ```height``` of 1080
* the app then applies mandatory constraints saying that ```width``` and ```height``` should both be 100?
* or, if the app instead of ```width``` and ```height``` puts ```aspectRatio``` constraint (mandatory) to 1?



-- 
GitHub Notification of comment by stefhak
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/495#issuecomment-341699641 using your GitHub account
Received on Friday, 3 November 2017 13:14:17 UTC

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