GetProfile:
POST
/onvif/Media
HTTP
/1
.1
Content-Type: application
/soap
+xml; charset=utf-8; action=
"http://www.onvif.org/ver10/media/wsdlGetProfile/"
Host: 10.7.36.222
Content-Length: 955
Accept-Encoding:
gzip
, deflate
Connection: Close
<s:Envelope xmlns:s=
"http://www.w3.org/2003/05/soap-envelope"
><s:Header><Security s:mustUnderstand=
"1"
xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
><UsernameToken><Username>admin<
/Username
><Password Type=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest"
>
/3xzBWADnjN8PAXGqPwbShTH1gs
=<
/Password
><Nonce EncodingType=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
>
/Qd3wiSMFEGmYiUeRFXCHrIEAAAAAA
==<
/Nonce
><Created xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>2016-06-15T09:21:25.241Z<
/Created
><
/UsernameToken
><
/Security
><
/s
:Header><s:Body xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
><GetProfile xmlns=
"http://www.onvif.org/ver10/media/wsdl"
><ProfileToken>Profile_1<
/ProfileToken
><
/GetProfile
><
/s
:Body><
/s
:Envelope>
HTTP
/1
.1 200 OK
Date: Wed, 15 Jun 2016 17:21:25 GMT
Server: App-webs/
Connection: close
Content-Length: 10156
Content-Type: application
/soap
+xml; charset=utf-8
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<
env
:Envelope xmlns:
env
=
"http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc=
"http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
xmlns:timg=
"http://www.onvif.org/ver20/imaging/wsdl"
xmlns:tev=
"http://www.onvif.org/ver10/events/wsdl"
xmlns:tptz=
"http://www.onvif.org/ver20/ptz/wsdl"
xmlns:tan=
"http://www.onvif.org/ver20/analytics/wsdl"
xmlns:tst=
"http://www.onvif.org/ver10/storage/wsdl"
xmlns:ter=
"http://www.onvif.org/ver10/error"
xmlns:dn=
"http://www.onvif.org/ver10/network/wsdl"
xmlns:tns1=
"http://www.onvif.org/ver10/topics"
xmlns:tmd=
"http://www.onvif.org/ver10/deviceIO/wsdl"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl"
xmlns:wsoap12=
"http://schemas.xmlsoap.org/wsdl/soap12"
xmlns:http=
"http://schemas.xmlsoap.org/wsdl/http"
xmlns:d=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:wsadis=
"http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa=
"http://www.w3.org/2005/08/addressing"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrf-bf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw=
"http://docs.oasis-open.org/wsrf/rw-2"
xmlns:wsaw=
"http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsrf-r=
"http://docs.oasis-open.org/wsrf/r-2"
xmlns:trc=
"http://www.onvif.org/ver10/recording/wsdl"
xmlns:tse=
"http://www.onvif.org/ver10/search/wsdl"
xmlns:trp=
"http://www.onvif.org/ver10/replay/wsdl"
xmlns:tnshik=
"http://www.hikvision.com/2011/event/topics"
xmlns:hikwsd=
"http://www.onvifext.com/onvif/ext/ver10/wsdl"
xmlns:hikxsd=
"http://www.onvifext.com/onvif/ext/ver10/schema"
><
env
:Body><trt:GetProfileResponse><trt:Profile token=
"Profile_1"
fixed=
"true"
><tt:Name>mainStream<
/tt
:Name>
<tt:VideoSourceConfiguration token=
"VideoSourceToken"
><tt:Name>VideoSourceConfig<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:SourceToken>VideoSource_1<
/tt
:SourceToken>
<tt:Bounds x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
><
/tt
:Bounds>
<tt:Extension><tt:Rotate><tt:Mode>OFF<
/tt
:Mode>
<
/tt
:Rotate>
<
/tt
:Extension>
<
/tt
:VideoSourceConfiguration>
<tt:AudioSourceConfiguration token=
"AudioSourceConfigToken"
><tt:Name>AudioSourceConfig<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:SourceToken>AudioSourceChannel<
/tt
:SourceToken>
<
/tt
:AudioSourceConfiguration>
<tt:VideoEncoderConfiguration token=
"VideoEncoderToken_1"
><tt:Name>VideoEncoder_1<
/tt
:Name>
<tt:UseCount>1<
/tt
:UseCount>
<tt:Encoding>H264<
/tt
:Encoding>
<tt:Resolution><tt:Width>1280<
/tt
:Width>
<tt:Height>720<
/tt
:Height>
<
/tt
:Resolution>
<tt:Quality>3.000000<
/tt
:Quality>
<tt:RateControl><tt:FrameRateLimit>25<
/tt
:FrameRateLimit>
<tt:EncodingInterval>1<
/tt
:EncodingInterval>
<tt:BitrateLimit>4096<
/tt
:BitrateLimit>
<
/tt
:RateControl>
<tt:H264><tt:GovLength>50<
/tt
:GovLength>
<tt:H264Profile>Main<
/tt
:H264Profile>
<
/tt
:H264>
<tt:Multicast><tt:Address><tt:Type>IPv4<
/tt
:Type>
<tt:IPv4Address>0.0.0.0<
/tt
:IPv4Address>
<
/tt
:Address>
<tt:Port>8860<
/tt
:Port>
<tt:TTL>1<
/tt
:TTL>
<tt:AutoStart>
false
<
/tt
:AutoStart>
<
/tt
:Multicast>
<tt:SessionTimeout>PT5S<
/tt
:SessionTimeout>
<
/tt
:VideoEncoderConfiguration>
<tt:AudioEncoderConfiguration token=
"MainAudioEncoderToken"
><tt:Name>AudioEncoderConfig<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:Encoding>G711<
/tt
:Encoding>
<tt:Bitrate>64<
/tt
:Bitrate>
<tt:SampleRate>8<
/tt
:SampleRate>
<tt:Multicast><tt:Address><tt:Type>IPv4<
/tt
:Type>
<tt:IPv4Address>0.0.0.0<
/tt
:IPv4Address>
<
/tt
:Address>
<tt:Port>8862<
/tt
:Port>
<tt:TTL>1<
/tt
:TTL>
<tt:AutoStart>
false
<
/tt
:AutoStart>
<
/tt
:Multicast>
<tt:SessionTimeout>PT5S<
/tt
:SessionTimeout>
<
/tt
:AudioEncoderConfiguration>
<tt:VideoAnalyticsConfiguration token=
"VideoAnalyticsToken"
><tt:Name>VideoAnalyticsName<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:AnalyticsEngineConfiguration><tt:AnalyticsModule Name=
"MyCellMotionModule"
Type=
"tt:CellMotionEngine"
><tt:Parameters><tt:SimpleItem Name=
"Sensitivity"
Value=
"60"
/>
<tt:ElementItem Name=
"Layout"
><tt:CellLayout Columns=
"22"
Rows=
"18"
><tt:Transformation><tt:Translate x=
"-1.000000"
y=
"-1.000000"
/>
<tt:Scale x=
"0.090909"
y=
"0.111111"
/>
<
/tt
:Transformation>
<
/tt
:CellLayout>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:AnalyticsModule>
<tt:AnalyticsModule Name=
"MyLineDetectorModule"
Type=
"tt:LineDetectorEngine"
><tt:Parameters><tt:SimpleItem Name=
"Sensitivity"
Value=
"50"
/>
<tt:ElementItem Name=
"Layout"
><tt:Transformation><tt:Translate x=
"-1.000000"
y=
"-1.000000"
/>
<tt:Scale x=
"0.002000"
y=
"0.002000"
/>
<
/tt
:Transformation>
<
/tt
:ElementItem>
<tt:ElementItem Name=
"Field"
><tt:PolygonConfiguration><tt:Polygon><tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"1000"
/>
<tt:Point x=
"1000"
y=
"1000"
/>
<tt:Point x=
"1000"
y=
"0"
/>
<
/tt
:Polygon>
<
/tt
:PolygonConfiguration>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:AnalyticsModule>
<tt:AnalyticsModule Name=
"MyFieldDetectorModule"
Type=
"tt:FieldDetectorEngine"
><tt:Parameters><tt:SimpleItem Name=
"Sensitivity"
Value=
"50"
/>
<tt:ElementItem Name=
"Layout"
><tt:Transformation><tt:Translate x=
"-1.000000"
y=
"-1.000000"
/>
<tt:Scale x=
"0.002000"
y=
"0.002000"
/>
<
/tt
:Transformation>
<
/tt
:ElementItem>
<tt:ElementItem Name=
"Field"
><tt:PolygonConfiguration><tt:Polygon><tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"1000"
/>
<tt:Point x=
"1000"
y=
"1000"
/>
<tt:Point x=
"1000"
y=
"0"
/>
<
/tt
:Polygon>
<
/tt
:PolygonConfiguration>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:AnalyticsModule>
<tt:AnalyticsModule Name=
"MyTamperDetecModule"
Type=
"hikxsd:TamperEngine"
><tt:Parameters><tt:SimpleItem Name=
"Sensitivity"
Value=
"0"
/>
<tt:ElementItem Name=
"Transformation"
><tt:Transformation><tt:Translate x=
"-1.000000"
y=
"-1.000000"
/>
<tt:Scale x=
"0.002841"
y=
"0.003472"
/>
<
/tt
:Transformation>
<
/tt
:ElementItem>
<tt:ElementItem Name=
"Field"
><tt:PolygonConfiguration><tt:Polygon><tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"576"
/>
<tt:Point x=
"704"
y=
"576"
/>
<tt:Point x=
"704"
y=
"0"
/>
<
/tt
:Polygon>
<
/tt
:PolygonConfiguration>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:AnalyticsModule>
<
/tt
:AnalyticsEngineConfiguration>
<tt:RuleEngineConfiguration><tt:Rule Name=
"MyMotionDetectorRule"
Type=
"tt:CellMotionDetector"
><tt:Parameters><tt:SimpleItem Name=
"MinCount"
Value=
"5"
/>
<tt:SimpleItem Name=
"AlarmOnDelay"
Value=
"1000"
/>
<tt:SimpleItem Name=
"AlarmOffDelay"
Value=
"1000"
/>
<tt:SimpleItem Name=
"ActiveCells"
Value=
"0P8A8A=="
/>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyLineDetector1"
Type=
"tt:LineDetector"
><tt:Parameters><tt:SimpleItem Name=
"Direction"
Value=
"Any"
/>
<tt:ElementItem Name=
"Segments"
><tt:Polyline><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polyline>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyLineDetector2"
Type=
"tt:LineDetector"
><tt:Parameters><tt:SimpleItem Name=
"Direction"
Value=
"Any"
/>
<tt:ElementItem Name=
"Segments"
><tt:Polyline><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polyline>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyLineDetector3"
Type=
"tt:LineDetector"
><tt:Parameters><tt:SimpleItem Name=
"Direction"
Value=
"Any"
/>
<tt:ElementItem Name=
"Segments"
><tt:Polyline><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polyline>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyLineDetector4"
Type=
"tt:LineDetector"
><tt:Parameters><tt:SimpleItem Name=
"Direction"
Value=
"Any"
/>
<tt:ElementItem Name=
"Segments"
><tt:Polyline><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polyline>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyFieldDetector1"
Type=
"tt:FieldDetector"
><tt:Parameters><tt:ElementItem Name=
"Field"
><tt:Polygon><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polygon>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyFieldDetector2"
Type=
"tt:FieldDetector"
><tt:Parameters><tt:ElementItem Name=
"Field"
><tt:Polygon><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polygon>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyFieldDetector3"
Type=
"tt:FieldDetector"
><tt:Parameters><tt:ElementItem Name=
"Field"
><tt:Polygon><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polygon>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyFieldDetector4"
Type=
"tt:FieldDetector"
><tt:Parameters><tt:ElementItem Name=
"Field"
><tt:Polygon><tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<tt:Point x=
"0.000000"
y=
"0.000000"
/>
<
/tt
:Polygon>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<tt:Rule Name=
"MyTamperDetectorRule"
Type=
"hikxsd:TamperDetector"
><tt:Parameters><tt:ElementItem Name=
"Field"
><tt:PolygonConfiguration><tt:Polygon><tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"0"
/>
<tt:Point x=
"0"
y=
"0"
/>
<
/tt
:Polygon>
<
/tt
:PolygonConfiguration>
<
/tt
:ElementItem>
<
/tt
:Parameters>
<
/tt
:Rule>
<
/tt
:RuleEngineConfiguration>
<
/tt
:VideoAnalyticsConfiguration>
<tt:Extension><tt:AudioOutputConfiguration token=
"AudioOutputConfigToken"
><tt:Name>AudioOutputConfigName<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:OutputToken>AudioOutputToken<
/tt
:OutputToken>
<tt:SendPrimacy>www.onvif.org
/ver20/HalfDuplex/Server
<
/tt
:SendPrimacy>
<tt:OutputLevel>10<
/tt
:OutputLevel>
<
/tt
:AudioOutputConfiguration>
<tt:AudioDecoderConfiguration token=
"AudioDecoderConfigToken"
><tt:Name>AudioDecoderConfig<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<
/tt
:AudioDecoderConfiguration>
<
/tt
:Extension>
<
/trt
:Profile>
<
/trt
:GetProfileResponse>
<
/env
:Body>
<
/env
:Envelope>
|
GetStreamUri:
POST
/onvif/Media
HTTP
/1
.1
Content-Type: application
/soap
+xml; charset=utf-8; action=
"http://www.onvif.org/ver10/media/wsdl/GetStreamUri"
Host: 10.7.36.222
Content-Length: 1146
Accept-Encoding:
gzip
, deflate
Connection: Close
<s:Envelope xmlns:s=
"http://www.w3.org/2003/05/soap-envelope"
><s:Header><Security s:mustUnderstand=
"1"
xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
><UsernameToken><Username>admin<
/Username
><Password Type=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest"
>s17rqTqSdE
/l
+lKmwSpAsZyuuAA=<
/Password
><Nonce EncodingType=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
>
/Qd3wiSMFEGmYiUeRFXCHrQEAAAAAA
==<
/Nonce
><Created xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>2016-06-15T09:21:25.261Z<
/Created
><
/UsernameToken
><
/Security
><
/s
:Header><s:Body xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
><GetStreamUri xmlns=
"http://www.onvif.org/ver10/media/wsdl"
><StreamSetup><Stream xmlns=
"http://www.onvif.org/ver10/schema"
>RTP-Unicast<
/Stream
><Transport xmlns=
"http://www.onvif.org/ver10/schema"
><Protocol>RTSP<
/Protocol
><
/Transport
><
/StreamSetup
><ProfileToken>Profile_1<
/ProfileToken
><
/GetStreamUri
><
/s
:Body><
/s
:Envelope>
HTTP
/1
.1 200 OK
Date: Wed, 15 Jun 2016 17:21:25 GMT
Server: App-webs/
Connection: close
Content-Length: 2253
Content-Type: application
/soap
+xml; charset=utf-8
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<
env
:Envelope xmlns:
env
=
"http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc=
"http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
xmlns:timg=
"http://www.onvif.org/ver20/imaging/wsdl"
xmlns:tev=
"http://www.onvif.org/ver10/events/wsdl"
xmlns:tptz=
"http://www.onvif.org/ver20/ptz/wsdl"
xmlns:tan=
"http://www.onvif.org/ver20/analytics/wsdl"
xmlns:tst=
"http://www.onvif.org/ver10/storage/wsdl"
xmlns:ter=
"http://www.onvif.org/ver10/error"
xmlns:dn=
"http://www.onvif.org/ver10/network/wsdl"
xmlns:tns1=
"http://www.onvif.org/ver10/topics"
xmlns:tmd=
"http://www.onvif.org/ver10/deviceIO/wsdl"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl"
xmlns:wsoap12=
"http://schemas.xmlsoap.org/wsdl/soap12"
xmlns:http=
"http://schemas.xmlsoap.org/wsdl/http"
xmlns:d=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:wsadis=
"http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa=
"http://www.w3.org/2005/08/addressing"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrf-bf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw=
"http://docs.oasis-open.org/wsrf/rw-2"
xmlns:wsaw=
"http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsrf-r=
"http://docs.oasis-open.org/wsrf/r-2"
xmlns:trc=
"http://www.onvif.org/ver10/recording/wsdl"
xmlns:tse=
"http://www.onvif.org/ver10/search/wsdl"
xmlns:trp=
"http://www.onvif.org/ver10/replay/wsdl"
xmlns:tnshik=
"http://www.hikvision.com/2011/event/topics"
xmlns:hikwsd=
"http://www.onvifext.com/onvif/ext/ver10/wsdl"
xmlns:hikxsd=
"http://www.onvifext.com/onvif/ext/ver10/schema"
><
env
:Body><trt:GetStreamUriResponse><trt:MediaUri><tt:Uri>rtsp:
//10
.7.36.222:554
/Streaming/Channels/101
?transportmode=unicast&profile=Profile_1<
/tt
:Uri>
<tt:InvalidAfterConnect>
false
<
/tt
:InvalidAfterConnect>
<tt:InvalidAfterReboot>
false
<
/tt
:InvalidAfterReboot>
<tt:Timeout>PT60S<
/tt
:Timeout>
<
/trt
:MediaUri>
<
/trt
:GetStreamUriResponse>
<
/env
:Body>
<
/env
:Envelope>
|
GetVideoSourceConfiguration:
POST
/onvif/Media
HTTP
/1
.1
Content-Type: application
/soap
+xml; charset=utf-8; action=
"http://www.onvif.org/ver10/media/wsdl/GetVideoSourceConfiguration"
Host: 10.7.36.222
Content-Length: 1008
Accept-Encoding:
gzip
, deflate
Connection: Close
<s:Envelope xmlns:s=
"http://www.w3.org/2003/05/soap-envelope"
><s:Header><Security s:mustUnderstand=
"1"
xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
><UsernameToken><Username>admin<
/Username
><Password Type=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest"
>eow2OaKeHAIClgw1LZ3oR4CpyTs=<
/Password
><Nonce EncodingType=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
>
/Qd3wiSMFEGmYiUeRFXCHrUEAAAAAA
==<
/Nonce
><Created xmlns=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>2016-06-15T09:21:25.277Z<
/Created
><
/UsernameToken
><
/Security
><
/s
:Header><s:Body xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
><GetVideoSourceConfiguration xmlns=
"http://www.onvif.org/ver10/media/wsdl"
><ConfigurationToken>VideoSourceToken<
/ConfigurationToken
><
/GetVideoSourceConfiguration
><
/s
:Body><
/s
:Envelope>
HTTP
/1
.1 200 OK
Date: Wed, 15 Jun 2016 17:21:25 GMT
Server: App-webs/
Connection: close
Content-Length: 2328
Content-Type: application
/soap
+xml; charset=utf-8
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<
env
:Envelope xmlns:
env
=
"http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc=
"http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
xmlns:timg=
"http://www.onvif.org/ver20/imaging/wsdl"
xmlns:tev=
"http://www.onvif.org/ver10/events/wsdl"
xmlns:tptz=
"http://www.onvif.org/ver20/ptz/wsdl"
xmlns:tan=
"http://www.onvif.org/ver20/analytics/wsdl"
xmlns:tst=
"http://www.onvif.org/ver10/storage/wsdl"
xmlns:ter=
"http://www.onvif.org/ver10/error"
xmlns:dn=
"http://www.onvif.org/ver10/network/wsdl"
xmlns:tns1=
"http://www.onvif.org/ver10/topics"
xmlns:tmd=
"http://www.onvif.org/ver10/deviceIO/wsdl"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl"
xmlns:wsoap12=
"http://schemas.xmlsoap.org/wsdl/soap12"
xmlns:http=
"http://schemas.xmlsoap.org/wsdl/http"
xmlns:d=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:wsadis=
"http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa=
"http://www.w3.org/2005/08/addressing"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrf-bf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw=
"http://docs.oasis-open.org/wsrf/rw-2"
xmlns:wsaw=
"http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsrf-r=
"http://docs.oasis-open.org/wsrf/r-2"
xmlns:trc=
"http://www.onvif.org/ver10/recording/wsdl"
xmlns:tse=
"http://www.onvif.org/ver10/search/wsdl"
xmlns:trp=
"http://www.onvif.org/ver10/replay/wsdl"
xmlns:tnshik=
"http://www.hikvision.com/2011/event/topics"
xmlns:hikwsd=
"http://www.onvifext.com/onvif/ext/ver10/wsdl"
xmlns:hikxsd=
"http://www.onvifext.com/onvif/ext/ver10/schema"
><
env
:Body><trt:GetVideoSourceConfigurationResponse><trt:Configuration token=
"VideoSourceToken"
><tt:Name>VideoSourceConfig<
/tt
:Name>
<tt:UseCount>2<
/tt
:UseCount>
<tt:SourceToken>VideoSource_1<
/tt
:SourceToken>
<tt:Bounds x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
><
/tt
:Bounds>
<tt:Extension><tt:Rotate><tt:Mode>OFF<
/tt
:Mode>
<
/tt
:Rotate>
<
/tt
:Extension>
<
/trt
:Configuration>
<
/trt
:GetVideoSourceConfigurationResponse>
<
/env
:Body>
<
/env
:Envelope>
|
该程序(NVC客户端程序)probe时主动向组播地址239.255.255.250:3702发送组播报文,设备(NVT)收到该组播报文时,单播响应该客户端,抓包如下:
<?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=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:chan=
"http://schemas.microsoft.com/ws/2005/02/duplex"
xmlns:wsa5=
"http://www.w3.org/2005/08/addressing"
xmlns:wsdd=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:xmime=
"http://tempuri.org/xmime.xsd"
xmlns:xop=
"http://www.w3.org/2004/08/xop/include"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:wsrfbf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
><SOAP-ENV:Header><wsa5:MessageID>uuid:08cb8fdb-150e-407c-8aa6-af648f925fb3<
/wsa5
:MessageID><wsa5:To SOAP-ENV:mustUnderstand=
"true"
>urn:schemas-xmlsoap-org:ws:2005:04:discovery<
/wsa5
:To><wsa5:Action SOAP-ENV:mustUnderstand=
"true"
>http:
//schemas
.xmlsoap.org
/ws/2005/04/discovery/Probe
<
/wsa5
:Action><
/SOAP-ENV
:Header><SOAP-ENV:Body><wsdd:Probe><wsdd:Types>dn:NetworkVideoTransmitter<
/wsdd
:Types><
/wsdd
:Probe><
/SOAP-ENV
:Body><
/SOAP-ENV
:Envelope><br><br>
|
设备单播响应:
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<
env
:Envelope xmlns:
env
=
"http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc=
"http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
xmlns:timg=
"http://www.onvif.org/ver20/imaging/wsdl"
xmlns:tev=
"http://www.onvif.org/ver10/events/wsdl"
xmlns:tptz=
"http://www.onvif.org/ver20/ptz/wsdl"
xmlns:tan=
"http://www.onvif.org/ver20/analytics/wsdl"
xmlns:tst=
"http://www.onvif.org/ver10/storage/wsdl"
xmlns:ter=
"http://www.onvif.org/ver10/error"
xmlns:dn=
"http://www.onvif.org/ver10/network/wsdl"
xmlns:tns1=
"http://www.onvif.org/ver10/topics"
xmlns:tmd=
"http://www.onvif.org/ver10/deviceIO/wsdl"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl"
xmlns:wsoap12=
"http://schemas.xmlsoap.org/wsdl/soap12"
xmlns:http=
"http://schemas.xmlsoap.org/wsdl/http"
xmlns:d=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:wsadis=
"http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa=
"http://www.w3.org/2005/08/addressing"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrf-bf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw=
"http://docs.oasis-open.org/wsrf/rw-2"
xmlns:wsaw=
"http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsrf-r=
"http://docs.oasis-open.org/wsrf/r-2"
xmlns:trc=
"http://www.onvif.org/ver10/recording/wsdl"
xmlns:tse=
"http://www.onvif.org/ver10/search/wsdl"
xmlns:trp=
"http://www.onvif.org/ver10/replay/wsdl"
xmlns:tnshik=
"http://www.hikvision.com/2011/event/topics"
xmlns:hikwsd=
"http://www.onvifext.com/onvif/ext/ver10/wsdl"
xmlns:hikxsd=
"http://www.onvifext.com/onvif/ext/ver10/schema"
><
env
:Header><wsadis:MessageID>urn:uuid:44170903-8b90-11b5-845d-2857be2d7a59<
/wsadis
:MessageID>
<wsadis:RelatesTo>uuid:08cb8fdb-150e-407c-8aa6-af648f925fb3<
/wsadis
:RelatesTo>
<wsadis:To>http:
//schemas
.xmlsoap.org
/ws/2004/08/addressing/role/anonymous
<
/wsadis
:To>
<wsadis:Action>http:
//schemas
.xmlsoap.org
/ws/2005/04/discovery/ProbeMatches
<
/wsadis
:Action>
<d:AppSequence InstanceId=
"1466088068"
MessageNumber=
"94"
/>
<
/env
:Header>
<
env
:Body><d:ProbeMatches><d:ProbeMatch><wsadis:EndpointReference><wsadis:Address>urn:uuid:44170903-8b90-11b5-845d-2857be2d7a59<
/wsadis
:Address>
<
/wsadis
:EndpointReference>
<d:Types>dn:NetworkVideoTransmitter tds:Device<
/d
:Types>
<d:Scopes>onvif:
//www
.onvif.org
/type/video_encoder
onvif:
//www
.onvif.org
/Profile/Streaming
onvif:
//www
.onvif.org
/Profile/G
onvif:
//www
.onvif.org
/type/audio_encoder
onvif:
//www
.onvif.org
/hardware/DS-2CD2122FWD-IWS
onvif:
//www
.onvif.org
/name/HIKVISION
%20DS-2CD2122FWD-IWS onvif:
//www
.onvif.org
/location/city/hangzhou
<
/d
:Scopes>
<d:XAddrs>http:
//10
.7.36.222
/onvif/device_service
http:
//
[fe80::2a57:beff:fe2d:7a59]
/onvif/device_service
<
/d
:XAddrs>
<d:MetadataVersion>10<
/d
:MetadataVersion>
<
/d
:ProbeMatch>
<
/d
:ProbeMatches>
<
/env
:Body>
<
/env
:Envelope>
|
GetCapabilities(指定Category):
POST
/onvif/device_service
HTTP
/1
.1
Host: 10.7.36.222
Content-Type: application
/soap
+xml; charset=utf-8
Content-Length: 337
<?xml version=
"1.0"
encoding=
"utf-8"
?><s:Envelope xmlns:s=
"http://www.w3.org/2003/05/soap-envelope"
><s:Body xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
><GetCapabilities xmlns=
"http://www.onvif.org/ver10/device/wsdl"
><Category>Media<
/Category
><
/GetCapabilities
><
/s
:Body><
/s
:Envelope>
HTTP
/1
.1 200 OK
Date: Mon, 20 Jun 2016 12:02:08 GMT
Server: App-webs/
Connection: close
Content-Length: 2780
Content-Type: application
/soap
+xml; charset=utf-8
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<
env
:Envelope xmlns:
env
=
"http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc=
"http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tt=
"http://www.onvif.org/ver10/schema"
xmlns:tds=
"http://www.onvif.org/ver10/device/wsdl"
xmlns:trt=
"http://www.onvif.org/ver10/media/wsdl"
xmlns:timg=
"http://www.onvif.org/ver20/imaging/wsdl"
xmlns:tev=
"http://www.onvif.org/ver10/events/wsdl"
xmlns:tptz=
"http://www.onvif.org/ver20/ptz/wsdl"
xmlns:tan=
"http://www.onvif.org/ver20/analytics/wsdl"
xmlns:tst=
"http://www.onvif.org/ver10/storage/wsdl"
xmlns:ter=
"http://www.onvif.org/ver10/error"
xmlns:dn=
"http://www.onvif.org/ver10/network/wsdl"
xmlns:tns1=
"http://www.onvif.org/ver10/topics"
xmlns:tmd=
"http://www.onvif.org/ver10/deviceIO/wsdl"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl"
xmlns:wsoap12=
"http://schemas.xmlsoap.org/wsdl/soap12"
xmlns:http=
"http://schemas.xmlsoap.org/wsdl/http"
xmlns:d=
"http://schemas.xmlsoap.org/ws/2005/04/discovery"
xmlns:wsadis=
"http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa=
"http://www.w3.org/2005/08/addressing"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrf-bf=
"http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw=
"http://docs.oasis-open.org/wsrf/rw-2"
xmlns:wsaw=
"http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsrf-r=
"http://docs.oasis-open.org/wsrf/r-2"
xmlns:trc=
"http://www.onvif.org/ver10/recording/wsdl"
xmlns:tse=
"http://www.onvif.org/ver10/search/wsdl"
xmlns:trp=
"http://www.onvif.org/ver10/replay/wsdl"
xmlns:tnshik=
"http://www.hikvision.com/2011/event/topics"
xmlns:hikwsd=
"http://www.onvifext.com/onvif/ext/ver10/wsdl"
xmlns:hikxsd=
"http://www.onvifext.com/onvif/ext/ver10/schema"
><
env
:Body><tds:GetCapabilitiesResponse><tds:Capabilities><tt:Media><tt:XAddr>http:
//10
.7.36.222
/onvif/Media
<
/tt
:XAddr>
<tt:StreamingCapabilities><tt:RTPMulticast>
true
<
/tt
:RTPMulticast>
<tt:RTP_TCP>
true
<
/tt
:RTP_TCP>
<tt:RTP_RTSP_TCP>
true
<
/tt
:RTP_RTSP_TCP>
<
/tt
:StreamingCapabilities>
<tt:Extension><tt:ProfileCapabilities><tt:MaximumNumberOfProfiles>10<
/tt
:MaximumNumberOfProfiles>
<
/tt
:ProfileCapabilities>
<
/tt
:Extension>
<
/tt
:Media>
<tt:Extension><hikxsd:hikCapabilities><hikxsd:XAddr>http:
//10
.7.36.222
/onvif/hik_ext
<
/hikxsd
:XAddr>
<hikxsd:IOInputSupport>
true
<
/hikxsd
:IOInputSupport>
<hikxsd:PrivacyMaskSupport>
true
<
/hikxsd
:PrivacyMaskSupport>
<hikxsd:PTZ3DZoomSupport>
false
<
/hikxsd
:PTZ3DZoomSupport>
<hikxsd:PTZPatternSupport>
true
<
/hikxsd
:PTZPatternSupport>
<
/hikxsd
:hikCapabilities>
<
/tt
:Extension>
<
/tds
:Capabilities>
<
/tds
:GetCapabilitiesResponse>
<
/env
:Body>
<
/env
:Envelope>
|