当前位置:网站首页>What is the reason why the video intelligent analysis platform easycvr is locally controllable but the superior equipment cannot control the subordinate equipment?
What is the reason why the video intelligent analysis platform easycvr is locally controllable but the superior equipment cannot control the subordinate equipment?
2022-06-24 12:24:00 【Tsingsee green rhino video】
As we all know EasyCVR It is a video platform that supports a wide range of protocols , Therefore, it is compatible with the advantages of many protocols , For example, support PTZ control equipment , It also supports cascading platforms through different protocols . In the near future EasyCVR During the test, it appears that the local platform can control the subordinate equipment through the PTZ , However, the superior equipment cannot control the situation of the subordinate equipment .
In view of this situation , We did packet capturing analysis .
Through packet capturing analysis , You can view the control messages sent by the superior , It is normally sent and responded to at this level , But when it is forwarded to the lower level through the current level , Subordinate replies 400 error .
At this point, the problem is found , because EasyCVR Cascaded channels and the reality of lower level devices id Dissimilarity , So when sending control commands to subordinates through superiors , You need to convert again at the lower level , Add the following code :
gbDevID := gbsChns[0].DeviceID sipDev := uas.Server.GetDevice(gbDevID) if sipDev == nil { log.Println(" cascade MakePTZControlRequest error ") return } reqControl, _, err = uas.Server.MakeDragZoomInControlRequest(code, uas.Server.Realm, length, width, midPointX, midPointY, lengthX, lengthY) if err != nil { log.Println(" cascade MakeDragZoomInControlRequest error ", err) return } err = reqControl.SendByTransport(sipDev.Transport) if err != nil { log.Println(" Cascade transmission MakePTZControlRequest error ", err) return }
Send the control message through the superior again , And grab the bag to check , It is found that the information can be sent normally .
边栏推荐
- Embedded must learn! Detailed explanation of hardware resource interface - based on arm am335x development board (Part 1)
- 万名校园开发者花式玩AI,亮点看这张图就够啦!
- LS-DYNA beginner's experience
- 5 points + single gene pan cancer pure Shengxin idea!
- How does easygbs, a national standard platform, solve the problem that information cannot be carried across domains?
- 怎样申购打新债 开户是安全的吗
- [live review] battle code pioneer phase 7: how third-party application developers contribute to open source
- Insurance app aging service evaluation analysis 2022 issue 06
- How stupid of me to hire a bunch of programmers who can only "Google"!
- Opencv learning notes - Discrete Fourier transform
猜你喜欢
[live review] battle code pioneer phase 7: how third-party application developers contribute to open source
美团基于 Flink 的实时数仓平台建设新进展
How stupid of me to hire a bunch of programmers who can only "Google"!
How can a shell script (.Sh file) not automatically close or flash back after execution?
QT -- the qtabwidget supports dragging tabbar items
[Architect (Part 41)] installation of server development and connection to redis database
Insurance app aging service evaluation analysis 2022 issue 06
Linker --- linker
FreeRTOS overview and experience
Axi low power interface
随机推荐
LS-DYNA新手入门经验
Insurance app aging service evaluation analysis 2022 issue 06
Nacos source code - Interface read configuration
mRNA疫苗的研制怎么做?27+ 胰腺癌抗原和免疫亚型的解析来告诉你答案!
What should music website SEO do?
Opencv learning notes - regions of interest (ROI) and image blending
计组-总复习
11+文章-机器学习打造ProTICS框架-深度揭示了不同分子亚型中肿瘤浸润免疫细胞对预后的影响
炒伦敦金短线稳定赚钱技巧?在哪里炒伦敦金安全靠谱?
Embedded must learn! Detailed explanation of hardware resource interface - based on arm am335x development board (Part 1)
[Old Wei makes machines] issue 090: keyboard? host? Full function keyboard host!
FreeRTOS概述与体验
C语言循环语句介绍(foe、while、do...while)
【直播回顾】战码先锋第七期:三方应用开发者如何为开源做贡献
Example of SMS interface verification code function implemented by ThinkPHP framework
Variable parameter template implements max (accepts multiple parameters, two implementation methods)
《opencv学习笔记》-- 矩阵归一化 normalize()函数
电商红包雨是如何实现的?拿去面试用(典型高并发)
LS-DYNA beginner's experience
万名校园开发者花式玩AI,亮点看这张图就够啦!