Persistent reconnecting a stream
Posted: 22 Oct 2023 04:06
Hi! Getting to explore the VLC command line a little, I'm tinkering with VLC on an ubuntu server instance (headless) playing out our stations web stream. I'd love to make the connection to a web stream indefinitely persistent if possible.
The command as it is now to get a picture:
cvlc https://stream.kdunradio.com/listen/kdu ... dsport/stl --aout=alsa --alsa-audio-device=hw:1,0 --network-caching=6000
I found the argument --http-reconnect=9999 but it doesn't seem to recognize it with this flavor.
Is there an equivalent, correction, or a preference file modification that would allow this? In testing, if the source icecast server is restarted the stream goes silent until manually restarted.
many thanks!
Ryan
The command as it is now to get a picture:
cvlc https://stream.kdunradio.com/listen/kdu ... dsport/stl --aout=alsa --alsa-audio-device=hw:1,0 --network-caching=6000
I found the argument --http-reconnect=9999 but it doesn't seem to recognize it with this flavor.
Is there an equivalent, correction, or a preference file modification that would allow this? In testing, if the source icecast server is restarted the stream goes silent until manually restarted.
many thanks!
Ryan