- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Apr 2020 09:05:08 +0000
- To: public-webrtc-logs@w3.org
Having access to the stream does not necessarily mean there is a `<video>` element associated to it, and visible as well.
```js
const videoStream = await navigator.mediaDevices.getUserMedia({
video: { pan: true, tilt: true, zoom: true }
});
// Code below is optional
const video = document.querySelector("video");
video.srcObject = videoStream;
```
--
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/222#issuecomment-620478839 using your GitHub account
Received on Tuesday, 28 April 2020 09:05:10 UTC