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) { ...@@ -413,7 +413,7 @@ async function addShareMedia(setup) {
let stream = null; let stream = null;
try { try {
stream = await navigator.mediaDevices.getDisplayMedia({}); stream = await navigator.mediaDevices.getDisplayMedia({video: true});
} catch(e) { } catch(e) {
console.error(e); console.error(e);
displayError(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