onvif 报文交互

<---------------------------------------------------------------------------------------------------------------------------------------------------------------->



uuid:7ac08da0-53fc-4775-8fdc-20ff56122a0b urn:schemas-xmlsoap-org:ws:2005:04:discovery http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe
tds:Device
uuid:f3b71077-c619-4db7-b43d-582e5d9908b5uuid:f3b71077-c619-4db7-b43d-582e5d9908b5http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatchesurn:uuid:11223344-5566-7788-99aa-e47d5a0f0cfbttltds:Deviceonvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/location/beijing/hbgk onvif://www.onvif.org/hardware/IPCamera onvif://www.onvif.org/name/IPCamera onvif://www.onvif.org/type/IPC onvif://www.onvif.org/hardware onvif://www.onvif.org/name onvif://www.onvif.org/type onvif://www.onvif.org/location http://192.168.5.181:8888/onvif/device_service10 <----------------------------------------------------------------------------------------------------------------------------------------------------------------> POST /onvif/device_service HTTP/1.1 Host: 192.168.5.182 Content-Type: application/soap+xml; charset=utf-8 Content-Length: 926
admin+revVdGdjSl6UslbjhXWMMn2QhA=R4WBLHVeiASJvcL7y1ItzQ==2016-01-13T07:17:26Zfalse




xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" 
xmlns:wsa5="http://www.w3.org/2005/08/addressing" 
xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#"
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:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
xmlns:xmime="http://tempuri.org/xmime.xsd" 
xmlns:xop="http://www.w3.org/2004/08/xop/include" 
xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" 
xmlns:tt="http://www.onvif.org/ver10/schema" 
xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" 
xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" 
xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" 
xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" 
xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" 
xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" 
xmlns:tds="http://www.onvif.org/ver10/device/wsdl" 
xmlns:tev="http://www.onvif.org/ver10/events/wsdl" 
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" 
xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" 
xmlns:tls="http://www.onvif.org/ver10/display/wsdl" 
xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" 
xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" 
xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" 
xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" 
xmlns:trt="http://www.onvif.org/ver10/media/wsdl" 
xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" 
xmlns:tse="http://www.onvif.org/ver10/search/wsdl" 
xmlns:ter="http://www.onvif.org/ver10/error" 
xmlns:tns1="http://www.onvif.org/ver10/topics">


<
tds:GetServicesResponse>

http://www.onvif.org/ver10/device/wsdl
http://192.168.5.131:8888/onvif/device_service

23


http://www.onvif.org/ver10/media/wsdl
http://192.168.5.131:8888/onvif/Media

24


http://www.onvif.org/ver10/events/wsdl
http://192.168.5.131:8888/onvif/Events

24


http://www.onvif.org/ver20/imaging/wsdl
http://192.168.5.131:8888/onvif/Imaging

22


http://www.onvif.org/ver10/deviceIO/wsdl
http://192.168.5.131:8888/onvif/deviceIO

22

http://www.onvif.org/ver20/analytics/wsdl
http://192.168.5.131:8888/onvif/Analytics

22


http://www.onvif.org/ver20/ptz/wsdl
http://192.168.5.131:8888/onvif/PTZ

24



<---------------------------------------------------------------------------------------------------------------------------------------------------------------->

POST /onvif/Media HTTP/1.1
Host: 192.168.5.182
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 868

adming6hMdJBtCxaBkAcv7o3HOnJlHQo=wZeiPoi8EjJV3AB4YF7yTA==2016-01-13T07:42:25Z


HTTP/1.1 200 OK
Status: 200
Content-Type: application/soap+xml; Charset=utf-8
Content-Length: 10909
Connection: close




  
    
	
	
      
        H264_1920x1080
        
          Video Source Configuration
          6
          VideoSource
          
        
        
          AudioSourceConfig
          6
          AudioSource
        
        
          H264_1920x1080
          1
          H264
          
            1280
            720
          
          3.000000
          
            25
            1
            2048
          
          
            25
            High
          
          
            
              IPv4
              0.0.0.0
            
            0
            0
            false
          
          PT120S
        
        
          G711
          6
          G711
          64
          8
          
            
              IPv4
              0.0.0.0
            
            0
            0
            false
          
          PT120S
        
      
	  
	  
      
        H264_640x360
        
          Video Source Configuration
          6
          VideoSource
          
        
        
          AudioSourceConfig
          6
          AudioSource
        
        
          H264_640x360
          1
          H264
          
            640
            360
          
          3.000000
          
            25
            1
            512
          
          
            25
            High
          
          
            
              IPv4
              0.0.0.0
            
            0
            0
            false
          
          PT120S
        
        
          G711
          6
          G711
          64
          8
          
            
              IPv4
              0.0.0.0
            
            0
            0
            false
          
          PT120S
        
      
	  
    
  



<---------------------------------------------------------------------------------------------------------------------------------------------------------------->

POST /onvif/Media HTTP/1.1
Host: 192.168.10.156
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 1107





adminZoCVAdes9UkJ751/EmomwliQe7g=
EXAb0xOKGDE3btEIRyNzFw==
2016-03-01T06:16:32Z



RTP-Unicast

UDP


Profile_0






HTTP/1.1 200 OK
Server: gSOAP/2.8
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 2479
Connection: close







rtsp://192.168.10.156:8554/H264MainStream
false
false
PT0H1M0S









你可能感兴趣的:(网络编程)