For years I've been running icecast2 and darkice to live stream the audio input from a usb webcam on 12.04.
This works fine so long as I manually start darkice from the terminal in a graphical session.
However now I need this setup to work as a daemon when multiple users are using remote desktop sessions.
I can run darkice as a service and it does stream but it streams no input. I can't connect it to the mic without an X session.
so, I have a webcam and a standard microphone and I need to livestream audio from a headless server on ubuntu 20.04 in a way that
is independent from user remote desktop and local desktop sessions.
I don't need to replicate/fix my current darkice setup. Anything that works will do.
Thanks for any advice. It's driving me nuts.