How do I embed VLC with public RTSP address in website
Posted: 23 Feb 2019 01:29
by wilecoyte
I have a website built with Sitebuilder (I can use HTML or cut and paste/drop and drag). I have a webcam with a live feed that I would like to embed into my website with the VLC player so that anyone can view it at anytime without my computer being on. I have the public rtsp address (i.e. rtsp://ipaddress:port/profile5/media.smp) which works when I use it on my computer's VLC player. How would I go about entering into my website the code to show the live feed of my webcam directly on my webpage? I'm assuming I need to add code to embed VLC player, then somehow add code to play the rtsp address. I have intermediate computer knowledge and basic HTML knowledge.
Re: How do I embed VLC with public RTSP address in website
Posted: 26 Feb 2019 22:08
by da2424
Hi,
this documentation should help you with your project:
https://wiki.videolan.org/Documentation:WebPlugin
In the section "Playlist object", you can find a code example how you can play rtsp streams.
Re: How do I embed VLC with public RTSP address in website
Posted: 01 Mar 2019 01:43
by wilecoyte
I had previously seen that page and attempted to embed the html as seen and when published I got a 404 error. It is very confusing what EXACTLY I am supposed to be html entering to get the livestream to play live on the website. Here are the exact codes I tried and did not work:
1) <embed type="application/x-vlc-plugin" pluginspage="
http://www.videolan.org" /rtsp://admin:509@184.167.254.105:554/profile5/media.smp>
2) <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="
http://download.videolan.org/pub/videol ... /media.smp>