- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Aug 2017 18:57:15 +0000
- To: public-media-capture-logs@w3.org
jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-main:
== How to implement web-compatible camera downscaling? ==
The spec leaves it to UAs whether to offer downscaled resolutions and decimated frame-rates.
This leaves web developers with a problem. This:
```js
await navigator.mediaDevices.getUserMedia({video: {height: {exact: 360}}});
```
...means, depending on browser¹, either:
1. Do you have a 360 native mode? If not, `OverConstrainedError` please, so I can do som'else, or
2. Downscale the camera output to 360p, please.
Assuming both groups of users exist, how do we solve their respective problems in all browsers?
---
<sub>1. Firefox and Edge implement 1, while Chrome (even Canary w/new algorithm flag) implements 2. Safari didn't take constraints yet.</sub>
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/472 using your GitHub account
Received on Friday, 4 August 2017 18:57:31 UTC