Commit c9865830 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix screen sharing on Safari.

Apparently Safari requires {video: true}.
parent 346f93dd
......@@ -413,7 +413,7 @@ async function addShareMedia(setup) {
let stream = null;
try {
stream = await navigator.mediaDevices.getDisplayMedia({});
stream = await navigator.mediaDevices.getDisplayMedia({video: true});
} catch(e) {
console.error(e);
displayError(e);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment