Reputation: 11
We are able to share our screen with remote user using Mozilla quantum browser but not able to share screen using chrome browser. So can we share the screen with remote user without using any third party extensions on chrome?
Upvotes: 1
Views: 1180
Reputation: 2752
Nowadays it's possible!
let stream = null;
try {
stream = await navigator.mediaDevices.getDisplayMedia({ video: true, audio: true });
} catch(err) {
console.warn("Error: " + err);
}
console.debug(stream);
Where stream
is an instance of MediaStream interface (just the same as you'd get it with getUserMedia()
).
Upvotes: 3
Reputation: 2386
No you can't.
Chrome places the extension as a prerequisite to be able to share your screen.
Upvotes: 2