The only way I could get video streaming was via VLC, I think due to some authentication problem IIRC. I am using this address to get the H.264 stream:
Code: Select all
rtsp://admin:pass@192.168.1.4:554/11
Here are the steps I have taken so far:
1-Setup the IPCAM control script as documented here: http://www.zoneminder.com/wiki/index.php/Foscam_Clones
I set the 'Control Capability' for LibVLC under the edit settings.
2-under the Source->Control tab->Control Device I left blank
Control Address = rtsp://admin:perigee@192.168.1.4:554
This led to seg faults every time I tried a control which led to this post: https://github.com/troywill/foscam-zoneminder/issues/1
I made the change to the PM file as suggested (
Code: Select all
#$self->{ua}->agent( "ZoneMinder Control Agent/" . ZM_VERSION );
$self->{ua}->agent( "ZoneMinder Control Agent" );
And that got rid of the hang.
Now I get this error when I try a control:
Code: Select all
4-04-09 09:33:31.494570 zmcontrol 3069 ERR Error check failed:'500 Can't connect to rtsp::80 (Bad hostname)' zmcontrol.pl
I am not sure how to troubleshoot this. I looked through the script and cant see where its setting the port to 80.
I have tried all manner of address configurations and types with the same effect...
Any guidance here would be appreciated!
Cheers,
Jon