当前位置:网站首页>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 .
边栏推荐
- What should music website SEO do?
- Nacos source code - configure automatic update
- Is it safe to apply for new bonds to open an account
- Cluster control management
- 怎样购买打新债 开户是安全的吗
- Adjustment method of easynvr video platform equipment channel page display error
- 怎么申请打新债 开户是安全的吗
- 最新热点:使用铜死亡相关基因进行肿瘤预后分型!
- Ingenious conception - iron death regulatory factor classification and prognosis 6+
- Insurance app aging service evaluation analysis 2022 issue 06
猜你喜欢

qt -- QTabWidget 中支持拖拽TabBar项
Database migration tool flyway vs liquibase (II)

FreeRTOS概述与体验

Insurance app aging service evaluation analysis 2022 issue 06

FreeRTOS overview and experience

【Go语言刷题篇】Go从0到入门4:切片的高级用法、初级复习与Map入门学习

Axi low power interface
![[digital ic/fpga] booth multiplier](/img/42/3da3b1d3cc82cb9c0694241148011b.png)
[digital ic/fpga] booth multiplier

Programmers spend most of their time not writing code, but...

AXI低功耗接口
随机推荐
集群控制管理
2021-06-02: given the head node of a search binary tree, it will be transformed into an ordered two-way linked list with head and tail connected.
不用做实验的6分+基因家族纯生信思路~
5 points + single gene pan cancer pure Shengxin idea!
《opencv学习笔记》-- CV::Mat类
[go language questions] go from 0 to entry 4: advanced usage of slice, elementary review and introduction to map
Listed JD Logistics: breaking through again
Ten thousand campus developers play AI in a fancy way. It's enough to see this picture!
Can Tencent's tendis take the place of redis?
Opencv learning notes - matrix normalization normalize() function
mRNA疫苗的研制怎么做?27+ 胰腺癌抗原和免疫亚型的解析来告诉你答案!
Identification of new prognostic DNA methylation features in uveal melanoma by 11+ based on methylation group and transcriptome analysis~
Variable parameter template implements max (accepts multiple parameters, two implementation methods)
Fizz gateway secondary development integration tutorial
Nacos source code - Interface read configuration
基于AM335X开发板 ARM Cortex-A8——Acontis EtherCAT主站开发案例
Continuous testing | test process improvement: practice continuous testing within iterations in coding
I'm in Shenzhen. Where can I open an account? Is it safe to open an account online now?
《梦华录》要大结局了,看超前点映不如先来学学它!
Use the object selection tool to quickly create a selection in Adobe Photoshop