- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Aug 2020 08:29:28 +0000
- To: public-webrtc-logs@w3.org
Supporting this pattern adds some complexity to the specification and to implementations. If it is a bad pattern, why adding this complexity? There is also the edge case of getUserMedia failing to applyConstraints while user granted device: the camera moved even though the web page never received a MediaStreamTrack. This seems slightly annoying. Also, the following example would most probably succeed, which somehow shows how strange this API is: ```js const [track] = (await navigator.mediaDevices.getUserMedia({video: {tilt: true}})).getVideoTracks(); await track.applyConstraints({video: {pan: 100}}); ``` -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/229#issuecomment-681779763 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 August 2020 08:29:30 UTC