D-Link DCS 935L network camera
Posted: Fri Oct 09, 2015 9:45 pm
Hi all,
Has anyone ever got a D-Link DCS-935L network camera to work on zoneminder ?
It streams via rtsp :
rtsp://user:password@hostname:554/play1.sdp
but I can't work out how to configure it to get it to work.
My zoneminder is setup following :
http://www.zoneminder.com/wiki/index.ph ... e_Easy_Way
I have set the camera up with :
Source Type : Remote
Remote Protocol : RTSP
Remote Method : RTSP/Unicast
Remote Host Name : IP address
Remote Host Port : 554
Remote Host Path : rtsp://user:password@ip.ad.dr.ess:554/play1.sdp
It turns up orange in the console so I suppose the configuration is OK but when I want to view the output the window opens up but nothing is displayed. Once I close this window the source item in the console has turned red and I have to re-save the source settings (without any modifications) and it goes orange again.
In the logs I have :
I modified line 15 of stream.php:
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'w.sock';
to:
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'s.sock';
Then I don't get the socket error anymore but I still get the zmc abnormal exit, the FAT "No RTSP sources" plus a new error which occurs every 15 seconds :
and still nothing displayed when I open the live feed window.
Am I doing right editing code as new errors crop up or have I botched my configuration and missed something else ?
Thank you for your help.
Has anyone ever got a D-Link DCS-935L network camera to work on zoneminder ?
It streams via rtsp :
rtsp://user:password@hostname:554/play1.sdp
but I can't work out how to configure it to get it to work.
My zoneminder is setup following :
http://www.zoneminder.com/wiki/index.ph ... e_Easy_Way
I have set the camera up with :
Source Type : Remote
Remote Protocol : RTSP
Remote Method : RTSP/Unicast
Remote Host Name : IP address
Remote Host Port : 554
Remote Host Path : rtsp://user:password@ip.ad.dr.ess:554/play1.sdp
It turns up orange in the console so I suppose the configuration is OK but when I want to view the output the window opens up but nothing is displayed. Once I close this window the source item in the console has turned red and I have to re-save the source settings (without any modifications) and it goes orange again.
In the logs I have :
Code: Select all
zmc_m1[30734]: INF [Starting Capture]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
web_php[30404]: ERR [socket_sendto( /var/run/zm/zms-797516s.sock ) failed: No such file or directory]
web_php[30404]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-797516s.sock ) failed: No such file or directory - checkStreamForErrors()]
zmc_m1[30738]: FAT [No RTSP sources]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
zmc_m1[30741]: INF [Starting Capture]
zmc_m1[30741]: FAT [No RTSP sources]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'w.sock';
to:
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'s.sock';
Then I don't get the socket error anymore but I still get the zmc abnormal exit, the FAT "No RTSP sources" plus a new error which occurs every 15 seconds :
Code: Select all
web_php[25566]: ERR [Got unexpected message size, got 5, expected 260]
web_php[25566]: ERR [getStreamCmdResponse stream error: Got unexpected message size, got 5, expected 260 - checkStreamForErrors()]
Am I doing right editing code as new errors crop up or have I botched my configuration and missed something else ?
Thank you for your help.