- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Nov 2022 22:30:39 +0000
- To: public-webrtc-logs@w3.org
AFAIK the spec says this should work for a hypothetical camera with ["user", "left"] capabilities:
```js
console.log(track.getCapabilities().facingMode); // ["user", "left"]
await track.applyConstraints({facingMode: {exact: "user"}});
console.log(track.getSettings().facingMode); // "user"
await track.applyConstraints({facingMode: {exact: "left"}});
console.log(track.getSettings().facingMode); // "left"
```
Doesn't make a lot of sense, but it means I can't tell what you mean.
--
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/915#issuecomment-1302749647 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 November 2022 22:30:41 UTC