- From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
- Date: Tue, 23 Aug 2016 13:30:52 +0000
- To: public-media-capture-logs@w3.org
alvestrand has just created a new issue for https://github.com/w3c/mediacapture-main: == What does "getSettings" return? == In implementing getSettings(width, height), I have been faced with a quandary. There are 3 width/height pairs to consider: 1. The device native width/height. Given that we do cropping, this is not what we want. 2. The target width/height. This is a bit tricky to calculate, since it's not necessarily a fixed value - it is influenced by the size of the image from the source and the applied constraints, including aspect ratio, and considering that some directions may be unbounded; it's not clear that the answer will make sense if we just look at the target independent of the image from the source. 3. The frame size actually delivered (after cropping). Given the previous point, this may be the easiest value to return consistently - but it leaves us at 0x0 until the first frame arrives. What do people think "getSettings" should return? Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/386 using your GitHub account
Received on Tuesday, 23 August 2016 13:30:59 UTC