navigator.mediaDevices.getDisplayMedia({
audio: false,
video: true
}).then(gotMedia).catch(function(e) {
console.log('getDisplayMedia() error: ', e);
});
when executing the above code it prompts with a popup asking user to select what to share. Can we get rid of that popup and directly get the stream of the entire screen?
Would be glad if someone can help with the same. Thanks in advance
