- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Mon, 16 Dec 2019 21:20:00 +0000
- To: public-webrtc-logs@w3.org
To clarify this PR: I believe these changes to `getUserMedia` are the best path toward it becoming useful as an in-chrome picker. It should be highly web compatible since most users won't see a change. https://github.com/w3c/mediacapture-main/pull/644#issuecomment-561253297 From [slide](https://docs.google.com/presentation/d/1QEdMf6Ixg1NNvHoZUvO29njrSKn9pdF1WqcrFWI4uX8/edit?ts=5dbaf0b6#slide=id.g6b7f95ec98_3_139): User with previously persisted permission for camera: | Single camera | Front/back camera | Multiple cameras -- | -- | -- | -- getUserMedia({video: true}) getUserMedia({video: {facingMode: "user"}}) getUserMedia({video: {deviceId: cameraId}}) | Granted! | _**Selector!**_ | _**Selector!**_ gUM({video: {facingMode: {exact: "user"}}}) | Granted! | Granted! | _**Selector!**_ gUM({video: {deviceId: {exact: cameraId}}}) | Granted! | Granted! | Granted! **User without persisted permission:** replace “Granted!” with “Selector!” or “Prompt!” -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/644#issuecomment-566248295 using your GitHub account
Received on Monday, 16 December 2019 21:20:01 UTC