当前位置:网站首页>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 .
边栏推荐
- Tsingsee green rhino video "cloud side end" +ai intelligent security system is integrated into the mainstream development trend
- 5 points + single gene pan cancer pure Shengxin idea!
- How to open a new bond? Is it safe to open an account
- 可变参数模板实现max(接受多个参数,两种实现方式)
- Example of SMS interface verification code function implemented by ThinkPHP framework
- 万名校园开发者花式玩AI,亮点看这张图就够啦!
- 《opencv学习笔记》-- 离散傅里叶变换
- Chenglixin research group of Shenzhen People's hospital proposed a new method of multi group data in the diagnosis and prognosis analysis of hepatocellular carcinoma megps
- Fizz gateway secondary development integration tutorial
- About the unsupported instruction set SSE 4.2 of CPU in virtualization
猜你喜欢

保险APP适老化服务评测分析2022第06期

Opencv learning notes - regions of interest (ROI) and image blending
![[live review] battle code pioneer phase 7: how third-party application developers contribute to open source](/img/fa/e52bd8a1a404a759ef6ba88e8da0f0.png)
[live review] battle code pioneer phase 7: how third-party application developers contribute to open source

美团基于 Flink 的实时数仓平台建设新进展
[Old Wei makes machines] issue 090: keyboard? host? Full function keyboard host!

Installation and operation of libuv

Opencv learning notes -- Separation of color channels and multi-channel mixing
【老卫搞机】090期:键盘?主机?全功能键盘主机!
Database migration tool flyway vs liquibase (II)

Axi low power interface
随机推荐
集群控制管理
Is it safe to apply for new bonds to open an account
Easynvr user login is modified to share the modification process of ip+ user name restriction
打新债的条件 开户是安全的吗
如何优雅的写 Controller 层代码?
10 zeros of D
LS-DYNA新手入门经验
LS-DYNA beginner's experience
Kubernetes best practice: graceful termination
Database migration tool flyway vs liquibase (II)
最新热点:使用铜死亡相关基因进行肿瘤预后分型!
Opencv learning notes - loading and saving images
Is it safe to open an account for how many new bonds you can apply for
Fizz gateway secondary development integration tutorial
The operation and maintenance boss laughed at me. Don't you know that?
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?
How can a shell script (.Sh file) not automatically close or flash back after execution?
qt -- QTabWidget 中支持拖拽TabBar项