Comments (16)
Hi @dinurymomshad,
I just published easy_onvif: ^2.3.0
, correcting Issue #58. The issue was with authentication, so there's a chance it might help with this other problem. There were many other changes made, which you can review in the changelog.
from easy_onvif.
Hi @dinurymomshad,
I just published a developer release for v3.0.0 which appears to might resolve the AbsoluteMove
issue.
from easy_onvif.
@faithoflifedev This problem is in the latest version of the project. Let me know if you need anything else.
from easy_onvif.
Hi @dinurymomshad, without an actual device, it's difficult to troubleshoot this type of an issue, but here's something that I can see, based on the logs provided.
In the first request made it has the following timestamp for the authentication portion of the request:
<Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-20
0401-wss-wssecurity-utility-1.0.xsd">2024-01-08T20:22:08.004Z</Created>
Notice that the ISO8601 formatted date has millisecond resolution.
For the next request the timestamp is:
<Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-20
0401-wss-wssecurity-utility-1.0.xsd">2024-01-08T20:22:08.088009Z</Created>
This one has nanosecond resolution for some strange reason.
The Onvif device uses the timestamp as part of the authentication process. I can't say for sure, but I'm suspecting that the device your using doesn't support nanoseconds for time resolution and this is messing up the authentication. I'll see if I can provide you some code to test with later that might resolve this (assuming this is actually the problem).
from easy_onvif.
Hi @dinurymomshad,
Ignore my previous post. I've been able to recreate the issue and I'm now working to resolve.
from easy_onvif.
Hi @dinurymomshad,
I just published easy_onvif 2.2.0+1
which should solve the issue.
from easy_onvif.
Sorry for the delay, but here is a log. Notice how "MainStream" token works to fetch PTZ profiles even though it doesn't exist in the list of media profile. But absolute move doesn't work.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif version
easy_onvif v2.2.0+1
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif media1 get-profiles
[{"@token":"CH01","@fixed":true,"Name":"D01_CH01_Main","VideoSourceConfiguration":{"Name":"VideoSourceConfig1_1","UseCount":6,"SourceToken":"Video
Source_1","Bounds":{"@x":0,"@y":0,"@width":2560,"@height":1440},"Extension":null},"AudioSourceConfiguration":{"Name":"AudioSourceConfig1","UseCoun
t":6,"SourceToken":"AudioSource_1"},"VideoEncoderConfiguration":{"@token":"VideoEncoderToken_1_1_1","Name":"MainStream","UseCount":1,"Encoding":"H
264","Resolution":{"Width":2560,"Height":1440},"Quality":4.0,"RateControl":{"FrameRateLimit":25,"EncodingInterval":1,"BitrateLimit":4096},"MPEG4":
null,"H264":{"GovLength":40,"H264Profile":"High"},"Multicast":{"Address":{"Type":"IPv4","IPv4Address":"238.255.0.2","IPv6Address":null},"Port":280
80,"TTL":255,"AutoStart":false},"SessionTimeout":"PT0S"},"AudioEncoderConfiguration":{"Name":"FirstAudio","UseCount":3,"Encoding":"G711","Bitrate"
:64,"SampleRate":8,"Multicast":{"Address":{"Type":"IPv4","IPv4Address":"238.255.0.5","IPv6Address":null},"Port":28080,"TTL":255,"AutoStart":false}
,"SessionTimeout":"PT0S"},"VideoAnalyticsConfiguration":{"Name":"VideoAnalytics1","UseCount":6},"PTZConfiguration":{"@token":"PTZConfig_1","Name":
"PTZConfig1","UseCount":6,"MoveRamp":null,"PresetRamp":null,"PresetTourRamp":null,"NodeToken":"PTZNode_0","DefaultAbsolutePantTiltPositionSpace":"
http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces
lativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://w
ww.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/Veloc
omSpaces/PositionGenericSpace","XRange":{"Min":-1.0,"Max":1.0}}}}}, {"@token":"CH01_sub","@fixed":true,"Name":"D01_CH01_Sub","VideoSourceConfigura
tion":{"Name":"VideoSourceConfig1_1","UseCount":6,"SourceToken":"VideoSource_1","Bounds":{"@x":0,"@y":0,"@width":2560,"@height":1440},"Extension":
null},"AudioSourceConfiguration":{"Name":"AudioSourceConfig1","UseCount":6,"SourceToken":"AudioSource_1"},"VideoEncoderConfiguration":{"@token":"V
ideoEncoderToken_1_1_2","Name":"SubStream","UseCount":1,"Encoding":"H264","Resolution":{"Width":720,"Height":576},"Quality":4.0,"RateControl":{"Fr
ameRateLimit":25,"EncodingInterval":1,"BitrateLimit":512},"MPEG4":null,"H264":{"GovLength":50,"H264Profile":"High"},"Multicast":{"Address":{"Type"
:"IPv4","IPv4Address":"238.255.0.3","IPv6Address":null},"Port":28084,"TTL":255,"AutoStart":false},"SessionTimeout":"PT0S"},"AudioEncoderConfigurat
ion":{"Name":"FirstAudio","UseCount":3,"Encoding":"G711","Bitrate":64,"SampleRate":8,"Multicast":{"Address":{"Type":"IPv4","IPv4Address":"238.255.
0.6","IPv6Address":null},"Port":28084,"TTL":255,"AutoStart":false},"SessionTimeout":"PT0S"},"VideoAnalyticsConfiguration":{"Name":"VideoAnalytics1
","UseCount":6},"PTZConfiguration":{"@token":"PTZConfig_1","Name":"PTZConfig1","UseCount":6,"MoveRamp":null,"PresetRamp":null,"PresetTourRamp":nul
l,"NodeToken":"PTZNode_0","DefaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbso
luteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvi
f.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/Translat
ionGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZo
omVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","PtzSpeed":null,"DefaultPTZTimeout":"PT60S","PanTiltLimits":{"R
ange":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"Min":-1.0,"Max":1.0},"YRange":{"Min":-1.0,"Max":1.0}}
},"ZoomLimits":{"Range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"Min":-1.0,"Max":1.0}}}}}]
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif media2 get-profiles
Unhandled exception:
Instance of 'NotSupportedException'
#0 Media.media2 (package:easy_onvif/src/media.dart:22:36)
#1 OnvifGetProfiles2MediaCommand.run (package:easy_onvif/src/cmd/onvif_media2_command.dart:153:36)
<asynchronous suspension>
#2 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
Unhandled exception:
Instance of 'NotSupportedException'
#0 Media.media2 (package:easy_onvif/src/media.dart:22:36)
#1 OnvifGetProfiles2MediaCommand.run (package:easy_onvif/src/cmd/onvif_media2_command.dart:153:36)
<asynchronous suspension>
#2 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz get-presets --profile-token MainStream
[{"@token":"1","Name":"Preset001","PTZPosition":null}, {"@token":"2","Name":"Preset002","PTZPosition":null}, {"@token":"3","Name":"Preset003","PTZ
Position":null}, {"@token":"4","Name":"Preset004","PTZPosition":null}, {"@token":"5","Name":"Preset005","PTZPosition":null}]
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz absolute-move --profile-token MainStream --pan-tilt-x 10.0 --pan-tilt-y 0.0 --p
an-tilt-zoom 0 --log-level all
👻 03:37:23.980362 INFO UI Loggy - Onvif - initializing ...
🐛 03:37:23.988363 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 03:37:24.038368 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:24.038368 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 03:37:24.204382 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>18</tt:Hour>
<tt:Minute>56</tt:Minute>
<tt:Second>3</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>15</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>2</tt:Hour>
<tt:Minute>56</tt:Minute>
<tt:Second>3</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>16</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 03:37:24.317389 DEBUG UI Loggy - DeviceManagement - getServices
🐛 03:37:24.354395 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:24.355395 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">7KOOINIf6xk5Wute4osj0W77Ap0=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">uZVcuRUDxzkrGOhQKhN0xQ==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-15T12:56:03Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 03:37:24.370398 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 03:37:24.444402 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 03:37:24.447404 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:24.447404 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 03:37:24.456401 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 03:37:24.486404 INFO UI Loggy - Onvif - initialization complete
🐛 03:37:24.490403 DEBUG UI Loggy - Ptz - absoluteMove
🐛 03:37:24.494408 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 03:37:24.494408 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">KxUtS3tjPOun9jxuN43nRrJXV1Y=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">1uIiJLLvjeUtA5MzdJJGtQ==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-15T12:56:03Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">MainStream</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www
.onvif.org/ver10/schema" x="10.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelop
e>
‼️ 03:37:24.505409 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 03:37:24.506404 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
👻 03:37:25.378470 INFO UI Loggy - Onvif - initializing ...
🐛 03:37:25.387472 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 03:37:25.433472 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:25.433472 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 03:37:25.562482 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>18</tt:Hour>
<tt:Minute>56</tt:Minute>
<tt:Second>5</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>15</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>2</tt:Hour>
<tt:Minute>56</tt:Minute>
<tt:Second>5</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>16</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 03:37:25.671490 DEBUG UI Loggy - DeviceManagement - getServices
🐛 03:37:25.707493 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:25.709495 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">bm6nfoC9B6KtBUo7hLb/9dUR5FQ=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">dZi8DyTIvBDKlHDdLWcr1g==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-15T12:56:05Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 03:37:25.719497 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 03:37:25.752499 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 03:37:25.756499 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 03:37:25.756499 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 03:37:25.768502 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 03:37:25.809501 INFO UI Loggy - Onvif - initialization complete
🐛 03:37:25.812500 DEBUG UI Loggy - Ptz - absoluteMove
🐛 03:37:25.817514 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 03:37:25.818511 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">CQ2Vc5WYqB63SYwsabPxOyHa5lI=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">QY2224pkBSvJ+4bPckHd6g==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-15T12:56:05Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">MainStream</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www
.onvif.org/ver10/schema" x="10.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelop
e>
‼️ 03:37:25.832505 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 03:37:25.833504 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App>
from easy_onvif.
@dinurymomshad, you'll need to use a profile-token
that exists on the device.
First, I recommend installing chocolatey if you haven't already, then install jq
choco install jq
onvif media1 get-profiles | jq -r '.[] | ."@token"'
This will output a list of the valid profile tokens for your device. Based on the debug info you provided, this would look like:
CH01
CH01_sub
So the command to get a list of the first 5 presets would look like:
onvif ptz get-presets --limit 5 --profile-token CH01 | jq -r '.[] | ."@token" + "\t" + .Name'
from easy_onvif.
I've tried as you said. It's not working.
Here is the output:
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz get-presets --limit 5 --profile-token CH01
[{"@token":"1","Name":"Preset001","PTZPosition":null}, {"@token":"2","Name":"Preset002","PTZPosition":null}, {"@token":"3","Name":"Preset003","PTZ
Position":null}, {"@token":"4","Name":"Preset004","PTZPosition":null}, {"@token":"5","Name":"Preset005","PTZPosition":null}]
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz absolute-move --profile-token CH01 --pan-tilt-x 10.0 --pan-tilt-y 0.0 --pan-til
t-zoom 0 --log-level all
👻 00:40:36.655521 INFO UI Loggy - Onvif - initializing ...
🐛 00:40:36.662523 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 00:40:36.708525 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:40:36.709526 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 00:40:36.820534 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>15</tt:Hour>
<tt:Minute>59</tt:Minute>
<tt:Second>17</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>16</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>23</tt:Hour>
<tt:Minute>59</tt:Minute>
<tt:Second>17</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>16</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:40:36.906540 DEBUG UI Loggy - DeviceManagement - getServices
🐛 00:40:36.934549 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:40:36.936547 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">S0BAqXdPvPfxXcWrnVrp8hpd4E4=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">yqjdk4fm3GAZv1R66AH1tw==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-16T09:59:17Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 00:40:36.947547 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:40:36.974546 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 00:40:36.976548 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:40:36.977550 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 00:40:36.984547 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 00:40:37.011548 INFO UI Loggy - Onvif - initialization complete
🐛 00:40:37.014549 DEBUG UI Loggy - Ptz - absoluteMove
🐛 00:40:37.018552 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 00:40:37.018552 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">MwlTHtzj9qrVU/Fr5+JwKGbEECc=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">J2xuH6o16yKPHeY0ofxu0w==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-16T09:59:17Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">CH01</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www.onvif
.org/ver10/schema" x="10.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelope>
‼️ 00:40:37.027552 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 00:40:37.028550 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz absolute-move --profile-token CH01_sub --pan-tilt-x 10.0 --pan-tilt-y 0.0 --pan
-tilt-zoom 0 --log-level all
👻 00:41:29.390865 INFO UI Loggy - Onvif - initializing ...
🐛 00:41:29.397866 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 00:41:29.444870 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:41:29.444870 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 00:41:29.597881 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>16</tt:Hour>
<tt:Minute>0</tt:Minute>
<tt:Second>9</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>16</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>0</tt:Hour>
<tt:Minute>0</tt:Minute>
<tt:Second>9</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>17</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:41:29.703890 DEBUG UI Loggy - DeviceManagement - getServices
🐛 00:41:29.735891 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:41:29.738891 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">xHjixUnSioK90fuSMscoefJF5KA=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">IzQDwlSAurAiss/3zvYpiA==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-16T10:00:09Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 00:41:29.749897 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:41:29.801897 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 00:41:29.803903 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:41:29.803903 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 00:41:29.814897 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 00:41:29.848901 INFO UI Loggy - Onvif - initialization complete
🐛 00:41:29.852902 DEBUG UI Loggy - Ptz - absoluteMove
🐛 00:41:29.858903 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 00:41:29.859902 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">aHOdzfbGDkfOLZ6Pynz9EkkA6eA=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">YGrrnJB5jja/Npe0G2N3aQ==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-16T10:00:09Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">CH01_sub</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www.o
nvif.org/ver10/schema" x="10.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelope>
‼️ 00:41:29.870902 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 00:41:29.871901 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
from easy_onvif.
The values for:
--pan-tilt-x
--pan-tilt-y
--pan-tilt-zoom
All need to be between -1 and 1
from easy_onvif.
The values for: --pan-tilt-x --pan-tilt-y --pan-tilt-zoom
All need to be between -1 and 1
Profile Token CH01_sub
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz absolute-move --profile-token CH01_sub --pan-tilt-x 1 --pan-tilt-y 0 --pan-tilt-zoom 0 --log-level all
👻 00:42:52.573057 INFO UI Loggy - Onvif - initializing ...
🐛 00:42:52.581060 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 00:42:52.629062 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:42:52.629062 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 00:42:52.754924 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>16</tt:Hour>
<tt:Minute>1</tt:Minute>
<tt:Second>35</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>17</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>0</tt:Hour>
<tt:Minute>1</tt:Minute>
<tt:Second>35</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>18</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:42:52.855929 DEBUG UI Loggy - DeviceManagement - getServices
🐛 00:42:52.889932 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:42:52.890934 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">LWzsnrasqSc2S8HdSZ1X0EHLzus=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">cWOZ8SOzdidE5U3mZjdLyA==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-17T10:01:35Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 00:42:52.900933 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:42:52.926935 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 00:42:52.929934 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:42:52.929934 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 00:42:52.940891 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 00:42:52.964894 INFO UI Loggy - Onvif - initialization complete
🐛 00:42:52.966893 DEBUG UI Loggy - Ptz - absoluteMove
🐛 00:42:52.970894 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 00:42:52.970894 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">dWwTfTEWcx/yXzWBHGzHw1Z76SE=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">RbR8cBu6sXSndaiYbiGYqw==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-17T10:01:35Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">CH01_sub</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www.o
nvif.org/ver10/schema" x="1.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelope>
‼️ 00:42:52.982025 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 00:42:52.983027 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
Profile Token CH01
PS C:\Users\Admin\Documents\GitHub\Longshot-Flutter-App> onvif ptz absolute-move --profile-token CH01 --pan-tilt-x 1 --pan-tilt-y 0 --pan-tilt-zoom 0 --log-level all
👻 00:45:40.257109 INFO UI Loggy - Onvif - initializing ...
🐛 00:45:40.265109 DEBUG UI Loggy - DeviceManagement - getSystemDateAndTime
🐛 00:45:40.311113 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:45:40.311113 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns
="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>
🐛 00:45:40.439122 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetSystemDateAndTimeResponse>
<tds:SystemDateAndTime>
<tt:DateTimeType>NTP</tt:DateTimeType>
<tt:DaylightSavings>false</tt:DaylightSavings>
<tt:TimeZone>
<tt:TZ>CST-08:00</tt:TZ>
</tt:TimeZone>
<tt:UTCDateTime>
<tt:Time>
<tt:Hour>16</tt:Hour>
<tt:Minute>4</tt:Minute>
<tt:Second>23</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>17</tt:Day>
</tt:Date>
</tt:UTCDateTime>
<tt:LocalDateTime>
<tt:Time>
<tt:Hour>0</tt:Hour>
<tt:Minute>4</tt:Minute>
<tt:Second>23</tt:Second>
</tt:Time>
<tt:Date>
<tt:Year>2024</tt:Year>
<tt:Month>1</tt:Month>
<tt:Day>18</tt:Day>
</tt:Date>
</tt:LocalDateTime>
</tds:SystemDateAndTime>
</tds:GetSystemDateAndTimeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:45:40.545130 DEBUG UI Loggy - DeviceManagement - getServices
🐛 00:45:40.578142 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:45:40.580135 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">pBJLciapZvxtLKc91ZHRXwUJodE=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">EHNuIPOzrBLaXHyzLEOwZw==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-17T10:04:23Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetServices xmlns="http://www.onvif.org/ver10/device/wsdl"><IncludeCapabil
ity>true</IncludeCapability></GetServices></s:Body></s:Envelope>
🐛 00:45:40.589137 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetServicesResponse>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/device_service</tds:XAddr>
<tds:Capabilities>
<tds:Capabilities>
<tds:Network IPFilter="false" ZeroConfiguration="false" IPVersion6="false" DynDNS="false" Dot11Con
figuration="false" Dot1XConfigurations="0" HostnameFromDHCP="true" NTP="1" DHCPv6="false"></tds:Network>
<tds:Security TLS1.0="false" TLS1.1="false" TLS1.2="false" OnboardKeyGeneration="false" AccessPoli
cyConfig="false" DefaultAccessPolicy="true" Dot1X="false" RemoteUserHandling="false" X.509Token="false" SAMLToken="false" KerberosToken="false" Us
ernameToken="false" HttpDigest="false" RELToken="false" SupportedEAPMethods="0" MaxUsers="10" MaxUserNameLength="32" MaxPasswordLength="16"></tds:
Security>
<tds:System DiscoveryResolve="false" DiscoveryBye="true" RemoteDiscovery="false" SystemBackup="fal
se" SystemLogging="true" FirmwareUpgrade="true" HttpFirmwareUpgrade="true" HttpSystemBackup="false" HttpSystemLogging="false" HttpSupportInformati
on="false" StorageConfiguration="true" MaxStorageConfigurations="8"></tds:System>
</tds:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media</tds:XAddr>
<tds:Capabilities><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" EXIComp
ression="false"><trt:ProfileCapabilities MaximumNumberOfProfiles="2"></trt:ProfileCapabilities><trt:StreamingCapabilities RTPMulticast="false" RTP
_TCP="false" RTP_RTSP_TCP="true" NonAggregateControl="true"></trt:StreamingCapabilities></trt:Capabilities></tds:Capabilities><tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Imaging</tds:XAddr>
<tds:Capabilities>
<timg:Capabilities ImageStabilization="false" Presets="false"></timg:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Events</tds:XAddr>
<tds:Capabilities>
<tev:Capabilities WSSubscriptionPolicySupport="true" WSPullPointSupport="true" WSPausableSubscriptionManag
erInterfaceSupport="false" MaxNotificationProducers="5" MaxPullPoints="5" PersistentNotificationStorage="false">
</tev:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Analytics</tds:XAddr>
<tds:Capabilities><tan:Capabilities RuleSupport="true" AnalyticsModuleSupport="true" CellBasedSceneDescriptionSupp
orted="true"></tan:Capabilities></tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/media/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/Media20</tds:XAddr>
<tds:Capabilities>
<tr2:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true" Mask="true">
<tr2:ProfileCapabilities MaximumNumberOfProfiles="10" ConfigurationsSupported="VideoSource AudioSource VideoEncoder AudioEncoder AudioOutput Audio
Decoder PTZ"></tr2:ProfileCapabilities>
<tr2:StreamingCapabilities RTSPStreaming="true" RTPMulticast="false" RTP_RTSP_TCP="true" NonAggregateControl="false"></tr2:StreamingCapabilities>
</tr2:Capabilities>
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
<tds:Service>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://10.201.1.11:80/onvif/ptz_service</tds:XAddr>
<tds:Capabilities>
<tptz:Capabilities EFlip="false" Reverse="false" GetCompatibleConfigurations="false" MoveStatus="true" Sta
tusPosition="true" />
</tds:Capabilities>
<tds:Version>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tds:Version>
</tds:Service>
</tds:GetServicesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
🐛 00:45:40.617139 DEBUG UI Loggy - DeviceManagement - getCapabilities
🐛 00:45:40.621139 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/device_service
🐛 00:45:40.622143 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header/><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetCapabilities xmlns="htt
p://www.onvif.org/ver10/device/wsdl"><Category>All</Category></GetCapabilities></s:Body></s:Envelope>
🐛 00:45:40.634137 DEBUG UI Loggy - LoggingInterceptors -
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Body>
<tds:GetCapabilitiesResponse>
<tds:Capabilities>
<tt:Analytics>
<tt:XAddr>http://10.201.1.11:80/onvif/Analytics_service</tt:XAddr>
<tt:RuleSupport>true</tt:RuleSupport>
<tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport>
</tt:Analytics>
<tt:Device>
<tt:XAddr>http://10.201.1.11:80/onvif/Device_service</tt:XAddr>
<tt:Network>
<tt:IPFilter>false</tt:IPFilter>
<tt:ZeroConfiguration>false</tt:ZeroConfiguration>
<tt:IPVersion6>false</tt:IPVersion6>
<tt:DynDNS>false</tt:DynDNS>
</tt:Network>
<tt:System>
<tt:DiscoveryResolve>false</tt:DiscoveryResolve>
<tt:DiscoveryBye>true</tt:DiscoveryBye>
<tt:RemoteDiscovery>false</tt:RemoteDiscovery>
<tt:SystemBackup>false</tt:SystemBackup>
<tt:SystemLogging>false</tt:SystemLogging>
<tt:FirmwareUpgrade>true</tt:FirmwareUpgrade>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>0</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>11</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>21</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>40</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>50</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>2</tt:Major>
<tt:Minor>60</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>16</tt:Major>
<tt:Minor>12</tt:Minor>
</tt:SupportedVersions>
<tt:SupportedVersions>
<tt:Major>17</tt:Major>
<tt:Minor>6</tt:Minor>
</tt:SupportedVersions>
</tt:System>
<tt:IO>
<tt:InputConnectors>1</tt:InputConnectors>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:IO>
<tt:Security>
<tt:TLS1.1>false</tt:TLS1.1>
<tt:TLS1.2>false</tt:TLS1.2>
<tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration>
<tt:AccessPolicyConfig>false</tt:AccessPolicyConfig>
<tt:X.509Token>false</tt:X.509Token>
<tt:SAMLToken>false</tt:SAMLToken>
<tt:KerberosToken>false</tt:KerberosToken>
<tt:RELToken>false</tt:RELToken>
<tt:Extension>
<tt:TLS1.0>false</tt:TLS1.0>
<tt:Extension>
<tt:Dot1X>false</tt:Dot1X>
<tt:SupportedEAPMethod>0</tt:SupportedEAPMethod>
<tt:RemoteUserHandling>false</tt:RemoteUserHandling>
</tt:Extension>
</tt:Extension>
</tt:Security>
</tt:Device>
<tt:Events>
<tt:XAddr>http://10.201.1.11:80/onvif/Events</tt:XAddr>
<tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport>
<tt:WSPullPointSupport>true</tt:WSPullPointSupport>
<tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport>
</tt:Events>
<tt:Imaging>
<tt:XAddr>http://10.201.1.11:80/onvif/Imaging</tt:XAddr>
</tt:Imaging>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:Media>
<tt:XAddr>http://10.201.1.11:80/onvif/Media20</tt:XAddr>
<tt:StreamingCapabilities>
<tt:RTPMulticast>false</tt:RTPMulticast>
<tt:RTP_TCP>false</tt:RTP_TCP>
<tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP>
</tt:StreamingCapabilities>
</tt:Media>
<tt:PTZ>
<tt:XAddr>http://10.201.1.11:80/onvif/ptz</tt:XAddr>
</tt:PTZ>
<tt:Extension>
<tt:DeviceIO>
<tt:XAddr>http://10.201.1.11:80/onvif/DeviceIO</tt:XAddr>
<tt:VideoSources>1</tt:VideoSources>
<tt:VideoOutputs>1</tt:VideoOutputs>
<tt:AudioSources>1</tt:AudioSources>
<tt:AudioOutputs>1</tt:AudioOutputs>
<tt:RelayOutputs>1</tt:RelayOutputs>
</tt:DeviceIO>
</tt:Extension>
</tds:Capabilities>
</tds:GetCapabilitiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
👻 00:45:40.673142 INFO UI Loggy - Onvif - initialization complete
🐛 00:45:40.676142 DEBUG UI Loggy - Ptz - absoluteMove
🐛 00:45:40.681142 DEBUG UI Loggy - LoggingInterceptors -
URI: http://10.201.1.11/onvif/ptz
🐛 00:45:40.682146 DEBUG UI Loggy - LoggingInterceptors -
REQUEST:
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
><s:Header><Security xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-s
ecext-1.0.xsd" s:mustUnderstand="1"><UsernameToken><Username>admin</Username><Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
ss-username-token-profile-1.0#PasswordDigest">8N/XzHtOlQReWW3yk6UOIr6tZUU=</Password><Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-soap-message-security-1.0#Base64Binary">few/+SbdM47SqwGvdFfo6g==</Nonce><Created xmlns="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-utility-1.0.xsd">2024-01-17T10:04:23Z</Created></UsernameToken></Security></s:Header><s:Body xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AbsoluteMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken xml
ns="http://www.onvif.org/ver20/ptz/wsdl">CH01</ProfileToken><Position xmlns="http://www.onvif.org/ver20/ptz/wsdl"><PanTilt xmlns="http://www.onvif
.org/ver10/schema" x="1.0" y="0.0"/><Zoom xmlns="http://www.onvif.org/ver10/schema" x="0.0"/></Position></AbsoluteMove></s:Body></s:Envelope>
‼️ 00:45:40.692142 ERROR UI Loggy - LoggingInterceptors -
ERROR:
DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configu
red to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
‼️ 00:45:40.693143 ERROR UI Loggy - Transport - ERROR RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oa
sis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xmime4
="http://www.w3.org/2004/11/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="htt
p://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:
tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tptz1="http://www.onvif.org/ver10/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/
wsdl" xmlns:timg1="http://www.onvif.org/ver10/imaging/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tan="http://www.onvif.org/ver
20/analytics/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:extXsd="http://www.onvifext.org/ver10/extFunctions/wsdl" xmlns:tns1="http
://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngine
Binding" xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding">
<SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:Code>
<SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
<SOAP-ENV:Subcode>
<SOAP-ENV:Value>ter:NotAuthorized</SOAP-ENV:Value>
</SOAP-ENV:Subcode>
</SOAP-ENV:Code>
<SOAP-ENV:Reason>
<SOAP-ENV:Text xml:lang="en">The security token could not be authenticated or authorized</SOAP-ENV:Text>
</SOAP-ENV:Reason>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Unhandled exception:
Exception: Error code: {"Code":{"Value":"SOAP-ENV:Sender","Subcode":{"Value":{"$":"ter:NotAuthorized"}}},"Reason":{"lang":"en","note":"The securit
y token could not be authenticated or authorized"},"Node":null,"Role":null,"Detail":null}
#0 Transport.sendRequest (package:easy_onvif/src/soap/transport.dart:46:13)
<asynchronous suspension>
#1 Ptz.absoluteMove (package:easy_onvif/src/ptz.dart:32:22)
<asynchronous suspension>
#2 OnvifAbsoluteMovePtzCommand.run (package:easy_onvif/src/cmd/onvif_ptz_command.dart:95:7)
<asynchronous suspension>
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
from easy_onvif.
Hi @dinurymomshad, the command you supplied works as expected on the devices that I have available for testing. I don't think I can provide any further help here.
from easy_onvif.
Hi @dinurymomshad, the command you supplied works as expected on the devices that I have available for testing. I don't think I can provide any further help here.
Would you like to remotely test the camera if we set things up? This camera is better in terms of overall functionality compared to the older models.
from easy_onvif.
@dinurymomshad, one more thing to try
List the configuration tokens for your device
onvif ptz get-configurations
Which should show you something like
"XRange":{"Min":-1.0,"Max":1.0},"YRange":{"Min":-1.0,"Max":3.0}}},"ZoomLimits":
{"Range":"URI":"http://www.onvif.org/ver20/ptz/wsdl","XRange":{"Min":0.0,"Max":1.0}
Which should display the X, Y, Zoom limits for your device.
from easy_onvif.
@dinurymomshad, one more thing to try
List the configuration tokens for your device
onvif ptz get-configurationsWhich should show you something like
"XRange":{"Min":-1.0,"Max":1.0},"YRange":{"Min":-1.0,"Max":3.0}}},"ZoomLimits": {"Range":"URI":"http://www.onvif.org/ver20/ptz/wsdl","XRange":{"Min":0.0,"Max":1.0}
Which should display the X, Y, Zoom limits for your device.
Thanks for the feedback. Here it is:
[{"@token":"PTZConfig_1","Name":"PTZConfig1","UseCount":6,"MoveRamp":null,"PresetRamp":null,"PresetTourRamp":null,"NodeToken":"PTZNode_0","Default
AbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www
.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/Tra
nslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuou
sPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif
.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","PtzSpeed":null,"DefaultPTZTimeout":"PT60S","PanTiltLimits":{"Range":{"URI":"http://www.onvif.org
/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"Min":-1.0,"Max":1.0},"YRange":{"Min":-1.0,"Max":1.0}}},"ZoomLimits":{"Range":{"URI":"ht
tp://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"Min":-1.0,"Max":1.0}}}}]
from easy_onvif.
Hi @dinurymomshad, the command you supplied works as expected on the devices that I have available for testing. I don't think I can provide any further help here.
Would you like to remotely test the camera if we set things up? This camera is better in terms of overall functionality compared to the older models.
You can send me a DM at faithoflifedev and we can discuss this in more detail.
from easy_onvif.
Related Issues (20)
- [2.1.0-dev11] error during onvif.getProfiles() device media1 HOT 2
- [2.1.0-dev11] error during onvif.getStreamUri() device media1 HOT 2
- [2.1.0-dev.14] onvif.mediaSupportLevel HOT 2
- Flutter example application cannot run successfully HOT 2
- RTSP port in the getStreamUri response not correct HOT 3
- camera recording HOT 2
- Is it possible to check if Onvif connect failed? HOT 2
- Onvif Imaging Profile HOT 3
- MulticastProbe with Auth HOT 3
- onvif discovery crash in windows HOT 6
- using CLI for testing causes a crash on onvif probe list-devices HOT 1
- Unable to get preset HOT 26
- new specifications support--thermal interface HOT 2
- How send audio stream to camera ? HOT 3
- Couldn't connect with Ezviz H8c camera HOT 3
- BUG: get-capabilities method is breaking for some cameras HOT 4
- DioException [receive timeout]: The request HOT 10
- getStreamUri doesn't connect to sub stream of Onvif camera HOT 5
- Actions that require authentication no longer work HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy_onvif.