bash script starts vlc stream relay:
Code: Select all
cvlc --no-dbus --network-caching=3000 \
$domain_protocol://$domain_name:$domain_port/$stream_name \
--input-title-format '$t'$stream_title' $/ $b'$stream_album' $/ $a'$stream_artist \
--sout '#standard{access='$dst_protocol',mux='$stream_type',dst='$dst_server':'$dst_port'/'$stream_name'}' \
:sout-all :sout-keep \
--http-cert '/etc/pki/SSL.Certificate.pem' \
--http-key '/etc/pki/SSL.PrivateKey.pem' \
&
Code: Select all
<audio controls autoplay>
<source src="https://domain.com:8888/VLC_Stream" type="audio/mpeg">
</audio>