代码拉取完成,页面将自动刷新
同步操作将从 温崋/DarwinServer 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
ONVIF中心管理服务器和CMS交互
1.服务器连接
ONVIF发送:
<Envelope type="cregister"></Envelope>
CMS响应:
<Envelope type="r_cregister">success</Envelope>
2.转发服务器
ONVIF发送:
<Envelope type="getrtspuri">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<token>PROFILE_H264_CH0_MAJOR</token>
<sourceuri>rtsp://122.205.129.253:554/1/h264major</sourceuri>
</profile>
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<token>PROFILE_H264_CH0_MA</token>
<sourceuri>rtsp://122.205.129.254:554/1/h264minor</sourceuri>
</profile>
</Envelope>
CMS响应:
<Envelope type="r_getrtspuri">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<token>PROFILE_H264_CH0_MAJOR</token>
<sourceuri>rtsp://122.205.129.253:554/1/h264major</sourceuri>
<desturi>[None|desuri]</desturi>
</profile>
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<sourceuri>rtsp://122.205.129.254:554/1/h264minor</sourceuri>
<desturi>[None|desuri]</desturi>
</profile>
</Envelope>
3.存储服务器
ONVIF发送:
<Envelope type="startstorage">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<height>1280</height>
<width>720</width>
</profile>
</Envelope>
CMS响应:
<Envelope type="r_startstorage">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<action>[success|exception|exist|fail]</action>
</profile>
</Envelope>
ONVIF发送:
<Envelope type="stopstorage">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
</profile>
</Envelope>
CMS响应:
<Envelope type="r_stopstorage">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<action>[success|notexist|fail]</action>
</profile>
</Envelope>
4.图像处理
ONVIF发送:
<Envelope type="startdeal">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<startcol>0</startcol>
<startrow>500</startrow>
<endcol>800</endcol>
<endrow>0</endrow>
</profile>
</Envelope>
CMS响应:
<Envelope type="r_startdeal">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<action>[success|exception|exisit|fail]</action>
</profile>
</Envelope>
ONVIF发送:
<Envelope type="stopdeal">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
</profile>
</Envelope>
CMS响应:
<Envelope type="r_stopdeal">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<action>[success|notexist|fail]</action>
</profile>
</Envelope>
5.报警信息
CMS发送:
<Envelope type="warning">
<profile>
<mac>4f:8f:xx:xx:xx:xx</mac>
<cfd>6</cfd>
<rtspuri>rtsp://122.205.129.254:554/1/h264major</rtspuri>
<type>[cross|shelter|unknown]</type>
<time>YY-MM-DD-HH-MM-SS</time>
</profile>
</Envelope>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。