No audio with ubuntu core 24 on Rpi5 and ubuntu-frame + firefox

Hi,

I’m running a Raspberry Pi 5 with Ubuntu Core 24 and Ubuntu-Frame, using Firefox in kiosk mode. From Firefox, the device should also play sound through a connected USB speaker. With PulseAudio, this worked pretty well, but since PulseAudio is no longer available, I haven’t found another working solution. I tried PipeWire, but without success.

Maybe you have an idea of what I could try. Any suggestions are appreciated.

Cheers, Matthias

Firefox has an alsa plug you might be able to use to directly have it talk to the sound hardware, multiplexing daemons like pulse or pipewire are usually used to manage concurrent access of apps to the sound hardware which you are unlikely to ever have on a kiosk style system…

Alternatively you could indeed just roll your own pulseaudio snap (there is example code under my GitHub account at ogra1 (Oliver Grawert) · GitHub)… There is also a pipewire snap that was originally created for the UbuntuCore Desktop but should eventually also have a mode to run as system daemon in IoT setups (not sure where that stands though)