[mediacapture-image] getCapabilities needs to be async

beaufortfrancois has just created a new issue for https://github.com/w3c/mediacapture-image:

== getCapabilities needs to be async ==
As `MediaTrackCapabilities` can't be retrieved until a while after opening the device, it would be better if `getCapabilities` returns a promise so that it is always filled:

```js
const capabilities = await track.getCapabilities();
```

Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/169 using your GitHub account

Received on Friday, 31 March 2017 09:27:40 UTC