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
> 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);
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
> 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?
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
> 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
> I am using Firefox 78.10 with Macos 10.11.8 (as well as Firefox 88 with > macos 10.14.6) Thanks, I'll have a look. > - Safari doesn’t show `Play local file`option The API is not supported by Safari: https://caniuse.com/mediacapture-fromelement > - Chromium 85 doesn’t show the video That's a known bug in Chromium. A workaround is to disable hardware acceleration. > - Chrome 90.0 works as expected That's strange, I was under the impression that the bug hadn't been fixed yet. -- Juliusz
>>> 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? It turns out it's a Firefox bug. https://bugzilla.mozilla.org/show_bug.cgi?id=1178751 Grr. -- Juliusz
[-- Attachment #1: Type: text/plain, Size: 920 bytes --] > Le 12 mai 2021 à 21:03, Juliusz Chroboczek <jch@irif.fr> a écrit : > >> I am using Firefox 78.10 with Macos 10.11.8 (as well as Firefox 88 with >> macos 10.14.6) > > Thanks, I'll have a look. > >> - Safari doesn’t show `Play local file`option > > The API is not supported by Safari: > > https://caniuse.com/mediacapture-fromelement > >> - Chromium 85 doesn’t show the video > > That's a known bug in Chromium. A workaround is to disable hardware > acceleration. > >> - Chrome 90.0 works as expected > > That's strange, I was under the impression that the bug hadn't been fixed > yet. > Thanks for investigating the issue. The working Chrome version is 90.0.4430.212 to be exact Eric > -- Juliusz > _______________________________________________ > Galene mailing list -- galene@lists.galene.org > To unsubscribe send an email to galene-leave@lists.galene.org [-- Attachment #2: Type: text/html, Size: 2512 bytes --]