How to share audio in Screen Share via LibreWolf on Linux

Hello,

I’m a new user of w2g.tv. I’m trying to share local mkv files from MPV player using LibreWolf as my preferred browser. I’m running the latest update of Arch Linux with the MATE desktop environment on the X11 display server and Pipewire as my audio server. I can get the video itself to share no problem, and in good quality. However, I can not seem to get audio to share properly.

What happens is that, if I do not grant it access to my microphone, it will not share with any sound and I do not seem to have the option in the player to unmute it. Nor do any test viewers have the option to unmute the player. I have tried this both on LibreWolf (a fork of Firefox) and Chromium.

When I do grant it microphone access in LibreWolf I can select the Pipewire Audio node for my DAC and then everyone can hear the audio, but they can also all hear every other sound on my desktop as well including both myself and the other members of the Discord call I’m in. In Chromium I don’t have the option to select which node the microphone and can’t even get that workaround working.

I can’t seem to find any method, in either, to select an audio source in the, “Configure Screen Share,” tool either.

Does anyone know how to resolve this issue?

Thanks.

Thanks a lot for your feedback. It’s a bit hard to exactly reproduce your setup… Can you play your video directly in a browser window? (just drag and drop it into the browser or use a file:// URL) At least in Chromium based browsers it should then be possible to share that window / tab including audio. Does that help?

Hey. Thank you for the reply. Neither of my browsers (LibreWolf and Chromium) seem to be able to play the video directly unfortunately despite trying every way to open the file in the browser itself. It just opens a child MPV (my default video player) window to play the video. I’m going to check the extensions to see if there isn’t a way to get an in browser media player. I’ll report back.

Yes, it could be that MKV is not directly supported. You could probably transcode the video or repack it into a different container. But I could fully understand if this is too much of a hassle.

1 Like