for soap 1.2 only probe for NetworkVideoTransmitter
This commit is contained in:
parent
603d903297
commit
de22f21813
|
@ -210,11 +210,11 @@ sub discover
|
||||||
# This is not a copy. So we generate a new uuid.
|
# This is not a copy. So we generate a new uuid.
|
||||||
$uuid = $uuid_gen->create_str();
|
$uuid = $uuid_gen->create_str();
|
||||||
|
|
||||||
|
# Everyone else, like the nodejs onvif code and odm only ask for NetworkVideoTransmitter
|
||||||
$result = $svc_discover->ProbeOp(
|
$result = $svc_discover->ProbeOp(
|
||||||
{ # WSDiscovery::Types::ProbeType
|
{ # WSDiscovery::Types::ProbeType
|
||||||
xmlattr => { 'xmlns:dn' => 'http://www.onvif.org/ver10/network/wsdl',
|
xmlattr => { 'xmlns:dn' => 'http://www.onvif.org/ver10/network/wsdl', },
|
||||||
'xmlns:tds' => 'http://www.onvif.org/ver10/device/wsdl', },
|
Types => 'dn:NetworkVideoTransmitter', # QNameListType
|
||||||
Types => 'dn:NetworkVideoTransmitter tds:Device', # QNameListType
|
|
||||||
Scopes => { value => '' },
|
Scopes => { value => '' },
|
||||||
},
|
},
|
||||||
WSDiscovery10::Elements::Header->new({
|
WSDiscovery10::Elements::Header->new({
|
||||||
|
|
Loading…
Reference in New Issue