-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
At the moment, the example reads:
try {
const stream = await navigator.mediaDevices.getViewportMedia();
videoElement.srcObject = stream;
} catch (e) {
console.log('Unable to acquire viewport capture: ' + e);
}
This is going to lead to a Hall of Mirrors effect and not be otherwise useful.
How about using a MediaRecorder instead? Or a PeerConnection? These seem more patently useful.