Connecting Mopidy Audio ouput to an RTP Stream

Hi There,
I just found Mopidy and have been tinkering all afternoon. I’ve been scouring through many forums and have not found an answer to my questions/setup.

I want to use Mopidy to pull in Spotify ( I have this connected and working). I then want to send that audio out to an RTP stream that a QSC Core can connect to. I tried Icecast2 but that has authentication that the QSC cannot complete. I need a basic RTP stream that has no password on it. I did read this post but this is outdated.
If anyone can assist that would be greatly appreciated.

I am running mopidy on a headless Ubunutu 24.04.1 VM.

Yeah, that RTP extension would presumably have to be updated to work with Python 3 and Mopidy 3/4.

https://gstreamer.freedesktop.org/documentation/additional/rtp.html?gi-language=c

Apparently gstreamer “has excellent support for RTP”, so I wonder if it’s just a case of doing a bit of configuration of the output from Mopidy and it will just work.

Maybe these examples will help.

I think fundamentally that extension is a wrapper around a pipeline containing rtpgstpay and udpsink. In theory you should be able to specify those yourself using Mopidy’s audio/output config setting but with all things gstreamer, it’s never as easy as they promise and you’ll need the right settings and supporting elements. You might find more help on the gstreamer discourse.

Edit, those examples look good! Suspiciously simple…