前言
對接螢石雲,發送請求GetVideoEncoderConfigurationOptions,請求回覆
請求報文
POST /onvif/media_service HTTP/1.1
HOST: 192.168.58.173
User-Agent: HTTP_USER_AGENT
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*.*;q=0.8
Accept-Language: ZH-cn;zh;q=0.5
Accept-Charset: gb2312,utf8;q=0.7,*;q=0.7
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/soap+xml; charset="utf-8"
Content-Length: 1178
<?xml version="1.0" encoding="UTF-8" ?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:trt="http://www.onvif.org/ver10/media/wsdl">
<soap:Header>
<wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-35" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>admin</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">nT8esG2hUP7Flya4Olpp7GEkqgg=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">XtakLm3DSu6tkQDcoGpnSA==</wsse:Nonce>
<wsu:Created>2020-05-06T07:01:35Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<trt:GetVideoEncoderConfigurationOptions>
<trt:ConfigurationToken>VideoEncoderConfigurationToken_1</trt:ConfigurationToken>
<trt:ProfileToken>ProfileToken_1</trt:ProfileToken>
</trt:GetVideoEncoderConfigurationOptions>
</soap:Body>
</soap:Envelope>
<soap:Body>
<trt:GetVideoEncoderConfigurationOptions>
<trt:ConfigurationToken>
VideoEncoderConfigurationToken_1
</trt:ConfigurationToken>
<trt:ProfileToken>
ProfileToken_1
</trt:ProfileToken>
</trt:GetVideoEncoderConfigurationOptions>
</soap:Body>