mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Fix screen sharing on Safari.
Apparently Safari requires {video: true}.
This commit is contained in:
parent
346f93dd16
commit
c9865830cc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue