I have results to report regarding multicast and docker. I didn't try --host=net because it's not a configuration I want, but I suspect it would work. In the meantime, where bridge networking failed, macvlan seems to get me further. I can finally run Probe ONVIF and get my cameras detected. However, after selecting a camera in the Monitor Probe panel, the next panel, Stream Probe, returns no results for one of my cameras (192.168.2.174 below).
Here are my probe results:
Code: Select all
root@0e80e4c86215:/# zmonvif-probe.pl probe
http://192.168.2.173:8080/onvif/device_service, 1.1, (type='NetworkVideoTransmitter', type='video_encoder', type='audio_encoder', type='video_analytics', type='ptz', name='IPCAM', hardware='HD-53NV1080HSD', location/country='china')
http://192.168.2.174:80/onvif/device_service, 1.2, (type='basic', type='audio_encoder', type='video_encoder', type='network_video_transmitter', name='ONVIF_CAMERA', location/country='China', type='ptz', hardware='IPG-8150PSS', Profile='Streaming', Profile='S', Profile='T')
http://192.168.2.173:8080/onvif/device_service, 1.2, (type='NetworkVideoTransmitter', type='video_encoder', type='audio_encoder', type='video_analytics', type='ptz', name='IPCAM', hardware='HD-53NV1080HSD', location/country='china')
http://192.168.2.19:80/onvif/device_service, 1.2, (type='Network_Video_Transmitter', type='video_encoder', type='audio_encoder', location/city='CSDN', name='csder', hardware='TEST_Onvif')
root@0e80e4c86215:/#
It looks a little different than the others- perhaps that means there's a parsing failure here?
Probed on command line:
Code: Select all
root@0e80e4c86215:/# zmonvif-probe.pl profiles http://192.168.2.174:80/onvif/device_service 1.2 admin password
No results from GetCapabilities: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error deserializing message:
syntax error at line 1, column 0, byte 0 at /usr/share/perl5/SOAP/WSDL/Expat/Base.pm line 79.
at line 1 at /usr/share/perl5/SOAP/WSDL/Expat/Base.pm line 82.
.
Message was:
Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 391.
</faultstring><faultactor>urn:localhost</faultactor></Fault>
No media endpoint for client.
root@0e80e4c86215:/#
Just to show that this command works on a different, older camera.
Code: Select all
root@0c5b783f9566:/usr/share/perl5/ONVIF# zmonvif-probe.pl profiles http://192.168.2.173:8080/onvif/device_service 1.2 admin farmer
MainStreamProfileToken, MainStreamProfile, H264, 1920, 1080, 20, rtsp://192.168.2.173:554/11
MainStreamProfileToken, MainStreamProfile, H264, 1920, 1080, 20, rtsp://192.168.2.173:554/11
MainStreamProfileToken, MainStreamProfile, H264, 1920, 1080, 20, rtsp://192.168.2.173:554/11
MainStreamProfileToken, MainStreamProfile, H264, 1920, 1080, 20, rtsp://192.168.2.173:554/11
SecondStreamProfileToken, SecondStreamProfile", H264, 640, 352, 20, rtsp://192.168.2.173:554/12
SecondStreamProfileToken, SecondStreamProfile", H264, 640, 352, 20, rtsp://192.168.2.173:554/12
SecondStreamProfileToken, SecondStreamProfile", H264, 640, 352, 20, rtsp://192.168.2.173:554/12
SecondStreamProfileToken, SecondStreamProfile", H264, 640, 352, 20, rtsp://192.168.2.173:554/12
root@0c5b783f9566:/usr/share/perl5/ONVIF#
ONVIFDM, Tinycam, etc all seem to have no problem detecting and operating PTZ on both old and new cams. Just ZM barfing on the newer one and I'm not sure why.
I'm not sure what the next step is.