I need very-very simple thing, but unfortunately, I have a "little" problem with.
I would like to link RTSP stream from IP camera into my web page.
I do not need any re-streaming servers or something like that. Because there is just one (me) user who will watch video from IP camera.
The problem is, there is no image on my web page. I see only black screen(640*360) with control panel having play/pause button, volume mixer and full screen button.
I used examples on this page http://wiki.videolan.org/ActiveX/HTML
And made following code, that I putted in my web page between <body> </body>:
Code: Select all
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
width="640" height="360" id="vlc" events="True">
<param name="Src" value="rtsp://ipadress:port/stream" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="False" />
</OBJECT>
Just one more thing: the rtsp stream use the basic authentication. So when I open rtsp://ipadress:port/stream in VLCPlayer via “open URL”, the pop-window appears and ask me login and password.
I enter needed credentials and voila I see my image from the camera.
But when I open web browser (IE or FF - I tried with these two) with installed VLC plug-in and go to my web page, as I already said, there is no pop-up windows appears to enter login and password – so I see only black screen(640*360) with control panel having play/pause button, volume mixer and full screen button.
And of course when I press on play/pause button - there is absolutely no reaction.
I tried to do this on two different PC’s with windows7 installed on them, both without antivirus and fire-wall is turned off.
For technical reasons I really need to observing the IP camera only via browser.
So can you help me guys, please. I need your help very-very much (I spent whole day to try find out the solution). What do you think where is can be the problem?