Apps/Audio Sharing
I don’t have active noise canceling headphones for my Desktop and I was very sad that my vivo TWS 2 ANC earbuds fail to pair with GNOME but today I happened upon the Audio Sharing project page.
The Project
Running Audio Sharing will automatically share the current audio playback in the form of an RTSP stream. This stream can then be played back by other devices, for example using VLC.
With this small application it is possible to stream Desktop Linux audio, get the rtsp url link and play it on other devices connected to the same network.
So I was able to photograph the QR code generated by Audio Sharing, paste it into Android VLC of my Smartphone and connect my TWS2 earbuds.
The only inconvenience is a certain delay with audio/video phase shift but that’s fine for me because I usually only listen to audio while working on PC.
How to install Audio Sharing, Stream Desktop Linux Sound
It is possible to use Flatpak with the dedicated command
flatpak install https://flathub.org/repo/appstream/de.haeckerfelix.AudioSharing.flatpakref
or building from sources
$ git clone https://gitlab.gnome.org/World/AudioSharing.git
$ cd AudioSharing
$ meson --prefix=/usr build
$ ninja -C build
$ sudo ninja -C build install
Audio Sharing is available in AUR (Arch Linux) in an updated version
https://aur.archlinux.org/packages/audio-sharing
Leave a Reply