From de22f218134aefd7a554667fd16d90871992a81e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 4 Oct 2016 09:36:28 -0400 Subject: [PATCH] for soap 1.2 only probe for NetworkVideoTransmitter --- onvif/scripts/zmonvif-probe.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onvif/scripts/zmonvif-probe.pl b/onvif/scripts/zmonvif-probe.pl index 10aa26a08..60f66146c 100755 --- a/onvif/scripts/zmonvif-probe.pl +++ b/onvif/scripts/zmonvif-probe.pl @@ -210,11 +210,11 @@ sub discover # This is not a copy. So we generate a new uuid. $uuid = $uuid_gen->create_str(); + # Everyone else, like the nodejs onvif code and odm only ask for NetworkVideoTransmitter $result = $svc_discover->ProbeOp( { # WSDiscovery::Types::ProbeType - xmlattr => { 'xmlns:dn' => 'http://www.onvif.org/ver10/network/wsdl', - 'xmlns:tds' => 'http://www.onvif.org/ver10/device/wsdl', }, - Types => 'dn:NetworkVideoTransmitter tds:Device', # QNameListType + xmlattr => { 'xmlns:dn' => 'http://www.onvif.org/ver10/network/wsdl', }, + Types => 'dn:NetworkVideoTransmitter', # QNameListType Scopes => { value => '' }, }, WSDiscovery10::Elements::Header->new({