Hikvision IP and DF


svego

Recommended Posts

Hi,

is there any way to get rtsp stream from IP surveilence camera ???

for example, I can get static picture from Hikvision IP camera ( Browser component)

http://user:password@192.168.1.66:80/Streaming/Channels/1/picture    -> example for Hikvision IP, works OK

to get RTSP

rtsp://admin:password@192.168.1.66:554/Streaming/Channels/101/  --> error Failed to load URL rtsp://admin:password@192.168.1.66:554/Streaming/Channels/101/ with error (-302).

It's very useful when customer see live stream...

is there any way to get live stream to DF ??

THX

Damir

Link to comment
Share on other sites

If RTSP isn't working in the browser component, you probably need a plugin.  Open Chrome on your system and see if that can access it.  Was the error 302 or -302?  302 means the server sent a redirect and you'll have to figure out where it sent it.  -302 isn't valid that I know of...

Also, why not use the http method?  You can just force a refresh every 0.1 seconds or so.

 

Link to comment
Share on other sites

hi,

there is -302 error...

Can you explain how to install that plugin in DF ?  VLC media player works fine with that link.

also what about http method ? 

here , 

http://user:password@192.168.1.66:80/Streaming/Channels/1/picture    

I have static picture, so you mean to reload it very frequently ? how, in some sequence ?

Link to comment
Share on other sites

The plugin isn't for DAQFactory, but for the Chrome installation on that PC.

To refresh the browser component, just call the SetURL() function of the component:

component.myBrowser.SetURL("http://user:password@192.168.1.66:80/Streaming/Channels/1/picture ")

That may not work if the browser instead pulls from cache, so you might do something like:

private i
while(1)
   component.myBrowser.SetURL("http://user:password@192.168.1.66:80/Streaming/Channels/1/picture?junk=" + i)
   i++
   delay(0.1)
endwhile

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.