Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: eric_G <junk.eg@free.fr>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: galene@lists.galene.org
Subject: [Galene] Re: how to share audio when screen sharing?
Date: Wed, 12 May 2021 19:45:49 +0200	[thread overview]
Message-ID: <581315D3-B18B-44BB-9718-BB93036E8996@free.fr> (raw)
In-Reply-To: <87im3noqmg.wl-jch@irif.fr>

Hello juliusz,
thanks for this new version!
I have a question that is not related to this version in particular.
As operator, when I share a video with `Play local file` the video plays but with no sound for me… Is it a normale behavier?
Many thanks
Éric


> Le 12 mai 2021 à 18:37, Juliusz Chroboczek <jch@irif.fr> a écrit :
> 
>> 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);
> 
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org


  reply	other threads:[~2021-05-12 17:45 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 ` [Galene] " Juliusz Chroboczek
2021-05-12 17:45   ` eric_G [this message]
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=581315D3-B18B-44BB-9718-BB93036E8996@free.fr \
    --to=junk.eg@free.fr \
    --cc=galene@lists.galene.org \
    --cc=jch@irif.fr \
    --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