I am trying to understand how streaming to the browser works with mopidy / icecast / iris and what the requirements are. I found the Mopidy Icecast page, but the details are still not clear to me.
Will Mopidy run it’s own streaming server on the 8000 port? Or will it send the stream to icecast first to be redistributed? Will mopidy send to icecast on port 8000 and iris fetch it from port 8000? Do I need to configure icecast? Or will iris connect directly to /mopidy:8000 from mopidy.conf? Which addresses can be 127.0.0.1, which ones should be 0.0.0.0? What about the passwords?
gst-launch-1.0 audiotestsrc ! audioresample ! audioconvert ! vorbisenc ! oggmux ! shout2send async=false mount=mopidy ip=127.0.0.1 port=8000 password=hackme
testing tells me it “could not connect to server”.