当前位置:网站首页>When adding RTSP devices to easycvr platform, what is the reason for the phenomenon that they are all connected by TCP?
When adding RTSP devices to easycvr platform, what is the reason for the phenomenon that they are all connected by TCP?
2022-07-27 20:43:00 【EasyCVR】
EasyCVR It is the most comprehensive video platform we support , Supported protocols include national standards GB/T28181、RTSP/Onvif、RTMP etc. , And the platform compatibility is very high , Support multiple types of device access , Including traditional webcams 、NVR、 Encoder 、4G Mobile law enforcement instrument and other video source equipment access . The platform supports compatibility with different brands 、 Different types of video platforms and devices , It can cover the vast majority of equipment on the market .

We found during the test that , stay EasyCVR Front end add RTSP Equipment time , Whether it's a choice UDP still TCP, Appeared, and finally TCP The phenomenon of adding connection mode .
Add device with TCP/UDP Options :

Adding devices in the channel can only be done in the directory above TCP still UDP Conduct RTSP Connect :

So I found in the test , No matter what the upper directory chooses TCP still UDP, In the end TCP The way to add devices . This obviously does not conform to the functional design of our platform , Therefore, in view of this situation, we conducted troubleshooting, analysis and solution .
1) First, you need to find the one that adds the device API Interface . The code is as follows :

2) Here is the information to get the device directory , It comes with the addition TCP and UDP attribute .

3) Here's the picture , Here is the device added to the data :

4) The following is to add RTSP flow , And there's one RTSP Handle :


5) Finally found the add RTSP Handle , It turns out that it's dead TCP How to connect . Here's the picture :

resolvent :
1) When you start adding devices , Pass the connection mode of the parent channel to the subclass . In this way, the subclass has the connection mode of the parent class . Here's the picture :

2) Finally, it needs to be modified and written to death TCP How to connect , Just judge , as follows :

After modification according to the above operation ,RTSP The device always uses TCP The problem of mode connection has been fixed .
EasyCVR Acquisition of platform 、 Converge 、 code 、 management 、 Storage 、 Efficient basic video capabilities such as distribution , For each platform module 、 The subsystem provides stable and smooth video data services . The platform can provide unified services API Interface , Connect devices 、 Connect data 、 Connect applications , Facilitate the rapid integration of third-party platforms .

EasyCVR At present, it has landed in a large number of offline scenes , Such as smart factory 、 Smart construction site 、 Intelligent Security 、 Smart campus 、 Intelligent water conservancy and other scenes . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- Oracle Xe installation and user operation
- 软件测试面试题:字符串 “axbyczdj“,如果得到结果“abcd
- Mlx90640 infrared thermal imager temperature sensor module development notes (VII)
- PyQt5快速开发与实战 4.3 QLabel and 4.4 文本框类控件
- 【毕设教程】YOLOv7 目标检测网络解读
- Why do we need third-party payment?
- MySQL log error log
- Common methods of object learning [clone and equals]
- EasyCVR平台添加RTSP设备时,出现均以TCP方式连接的现象是什么原因?
- JS jump to the page and refresh (jump to this page)
猜你喜欢

Illustration leetcode - 592. Fraction addition and subtraction (difficulty: medium)

Knowledge dry goods: basic storage service novice Experience Camp

To share the denoising methods and skills of redshift renderer, you must have a look

PyQt5快速开发与实战 4.7 QSpinBox(计数器) and 4.8 QSlider(滑动条)

Understand the wonderful use of dowanward API, and easily grasp kubernetes environment variables

做测试, 就得去大厂,内部披露BAT大厂招聘“潜规则”

数仓搭建——DWD层

在字节干了两年离职后,一口气拿到15家Offer

【阿里安全 × ICDM 2022】20万奖金池!大规模电商图上的风险商品检测赛火热报名中!...

人家这才叫软件测试工程师,你那只是混口饭吃(附HR面试宝典)
随机推荐
What app should individuals use for stock speculation to be safer and faster
Nailing development document
数仓搭建——DWD层
Office automation solution - docuware cloud is a complete solution to migrate applications and processes to the cloud
Data warehouse construction - DWD floor
Huawei's 150 member team rushed to the rescue, and Wuhan "Xiaotangshan" 5g base station was quickly opened!
Clickhouse implements materializedpostgresql
Summary of simple topics
Homology and cross domain
How bad can a programmer be?
学习Blender必备的12款动画插件,来了解一下
Get wechat product details API
Flask-MDict搭建在线Mdict词典服务
Apple Mobile Bluetooth networking
Mlx90640 infrared thermal imager temperature sensor module development notes (VII)
Technology sharing | how to do Assertion Verification in interface automated testing?
Users and permissions create ordinary users
A recently summarized universal violent cracking method
My approval of OA project (Query & meeting signature)
OA项目之我的审批(查询&会议签字)