* [Galene] how to share audio when screen sharing?
@ 2021-05-12 8:18 err404
2021-05-12 16:37 ` [Galene] " Juliusz Chroboczek
0 siblings, 1 reply; 9+ messages in thread
From: err404 @ 2021-05-12 8:18 UTC (permalink / raw)
To: galene
Hello all.
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?
thanks
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Galene] Re: how to share audio when screen sharing?
2021-05-12 8:18 [Galene] how to share audio when screen sharing? err404
@ 2021-05-12 16:37 ` Juliusz Chroboczek
2021-05-12 17:45 ` eric_G
0 siblings, 1 reply; 9+ messages in thread
From: Juliusz Chroboczek @ 2021-05-12 16:37 UTC (permalink / raw)
To: err404; +Cc: galene
> 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);
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Galene] Re: how to share audio when screen sharing?
2021-05-12 16:37 ` [Galene] " Juliusz Chroboczek
@ 2021-05-12 17:45 ` eric_G
2021-05-12 18:04 ` Juliusz Chroboczek
0 siblings, 1 reply; 9+ messages in thread
From: eric_G @ 2021-05-12 17:45 UTC (permalink / raw)
To: Juliusz Chroboczek; +Cc: galene
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Galene] Re: how to share audio when screen sharing?
2021-05-12 17:45 ` eric_G
@ 2021-05-12 18:04 ` Juliusz Chroboczek
2021-05-12 18:39 ` Fabrice Rouillier
2021-05-12 18:53 ` eric_G
0 siblings, 2 replies; 9+ messages in thread
From: Juliusz Chroboczek @ 2021-05-12 18:04 UTC (permalink / raw)
To: eric_G; +Cc: galene
> 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?
No, you should hear the audio of the video. (I've just tested that it is
the case for me.)
What browser and OS are you using?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Galene] Re: how to share audio when screen sharing?
2021-05-12 18:04 ` Juliusz Chroboczek
@ 2021-05-12 18:39 ` Fabrice Rouillier
2021-05-12 18:53 ` eric_G
1 sibling, 0 replies; 9+ messages in thread
From: Fabrice Rouillier @ 2021-05-12 18:39 UTC (permalink / raw)
To: Juliusz Chroboczek; +Cc: eric_G, galene
Hi all
On osx you can install ishowu to catch the computer sounds and this create a virtual device that is recognized by galene.
Cheers
Fabrice
Envoyé avec un smartphone
> Le 12 mai 2021 à 20:05, Juliusz Chroboczek <jch@irif.fr> a écrit :
>
>
>>
>> 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?
>
> No, you should hear the audio of the video. (I've just tested that it is
> the case for me.)
>
> What browser and OS are you using?
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Galene] Re: how to share audio when screen sharing?
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 19:12 ` Juliusz Chroboczek
1 sibling, 2 replies; 9+ messages in thread
From: eric_G @ 2021-05-12 18:53 UTC (permalink / raw)
To: Juliusz Chroboczek; +Cc: galene
> Le 12 mai 2021 à 20:04, Juliusz Chroboczek <jch@irif.fr> a écrit :
>
>> 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?
>
> No, you should hear the audio of the video. (I've just tested that it is
> the case for me.)
>
> What browser and OS are you using?
I am using Firefox 78.10 with Macos 10.11.8 (as well as Firefox 88 with macos 10.14.6)
I found out that:
- Safari doesn’t show `Play local file`option
- Firefox 78 / 88 doesn’t play the video sound (On Ubuntu with Firefox I get no sound either)
- Chromium 85 doesn’t show the video
- Chrome 90.0 works as expected
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-05-12 20:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 8:18 [Galene] how to share audio when screen sharing? err404
2021-05-12 16:37 ` [Galene] " Juliusz Chroboczek
2021-05-12 17:45 ` 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox