how to embed a vlc live streaming to a website?
Posted: 08 Jul 2019 04:17
by lexuan
I am currently working on a project to do video live streaming by using the Raspberry Pi camera. Currently, the video will stream to the vlc player through a 4G network. If I want to embed this vlc video live stream on to my website, what are the steps that can guide me to embed it?
Appreciate for the help
Re: how to embed a vlc live streaming to a website?
Posted: 08 Jul 2019 11:06
by unidan
Hi, if you want to embed VLC in your webpage, you need to wait for VLC.js (~2/3 months maybe)
Re: how to embed a vlc live streaming to a website?
Posted: 05 Aug 2019 13:59
by mafatik
You need to run
vlc $path_to_fle --sout '#standard{mux=,access=http,dst=}' in console where mux=mp4 or other format, dst=localhost:8080 or other host url. Then in html paste
Code: Select all
<video controls>
<source src="http://localhost:8080" type="video/mp4">
</video>