From: Juliusz Chroboczek <jch@irif.fr> To: err404@free.fr Cc: galene@lists.galene.org Subject: [Galene] Re: how to share audio when screen sharing? Date: Wed, 12 May 2021 18:37:11 +0200 [thread overview] Message-ID: <87im3noqmg.wl-jch@irif.fr> (raw) In-Reply-To: <d09b84c2-b83e-825c-ca87-3e5ddf9a45c5@free.fr> > In galene, I want present my screen, but also sharing the sound from my > computer, not only from my microphone. it is possible without trick > from the operating system? It's only supported under Windows, as far as I know. Try the following patch: diff --git a/static/galene.js b/static/galene.js index d2c614c..071f8ba 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1356,7 +1356,9 @@ async function addShareMedia() { if(!('getDisplayMedia' in navigator.mediaDevices)) throw new Error('Your browser does not support screen sharing'); /** @ts-ignore */ - stream = await navigator.mediaDevices.getDisplayMedia({video: true}); + stream = await navigator.mediaDevices.getDisplayMedia({ + video: true, audio: true, + }); } catch(e) { console.error(e); displayError(e);
next prev parent reply other threads:[~2021-05-12 16:37 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-12 8:18 [Galene] " err404 2021-05-12 16:37 ` Juliusz Chroboczek [this message] 2021-05-12 17:45 ` [Galene] " eric_G 2021-05-12 18:04 ` Juliusz Chroboczek 2021-05-12 18:39 ` Fabrice Rouillier 2021-05-12 18:53 ` eric_G 2021-05-12 19:03 ` Juliusz Chroboczek 2021-05-12 20:41 ` eric_G 2021-05-12 19:12 ` Juliusz Chroboczek
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=87im3noqmg.wl-jch@irif.fr \ --to=jch@irif.fr \ --cc=err404@free.fr \ --cc=galene@lists.galene.org \ --subject='[Galene] Re: how to share audio when screen sharing?' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox