Play VLC livestream in webbrowsers ?
Posted: 03 Jul 2020 10:59
Hello.
I've set up a PC having VLC produce a audio livestream (mp3) (from the Line In of a soundcard). Works well.
From an "outside" user PC I can play the livestream with VLC-player (Media/Open Network stream and give "http://IPnr_of_VLC_streaming_PC" ) and it also plays fine in Firefox, but NOT in IE and Chrome. What's is in Firefox that IE and Chrome don't have ?
My code on the webserver is like this:
...
<audio controls>
<source src="http://IPnr_of_VLC_streaming_PC:80" type="audio/mpeg">
</audio>
...
So, what to do to get it working in IE and Chrome webbrowsers ? (And Safari ?).
Thanks !
//tarzzz
I've set up a PC having VLC produce a audio livestream (mp3) (from the Line In of a soundcard). Works well.
From an "outside" user PC I can play the livestream with VLC-player (Media/Open Network stream and give "http://IPnr_of_VLC_streaming_PC" ) and it also plays fine in Firefox, but NOT in IE and Chrome. What's is in Firefox that IE and Chrome don't have ?
My code on the webserver is like this:
...
<audio controls>
<source src="http://IPnr_of_VLC_streaming_PC:80" type="audio/mpeg">
</audio>
...
So, what to do to get it working in IE and Chrome webbrowsers ? (And Safari ?).
Thanks !
//tarzzz