当前位置:网站首页>Easycvr, an urban intelligent video monitoring image analysis platform, plays national standard equipment videos and captures unstable packets for troubleshooting
Easycvr, an urban intelligent video monitoring image analysis platform, plays national standard equipment videos and captures unstable packets for troubleshooting
2022-06-24 17:04:00 【Tsingsee green rhino video】
EasyCVR The protocol compatibility of video platform is very strong , Support most of the existing protocol access , such as GB28181 Agreement and Ehome agreement . meanwhile EasyCVR There are two ways of recording , They are cloud video and device video , Video can be played by calling . But in EasyCVR adopt GB28181 When the protocol plays the video of the device, there will be the problem that it cannot be played after playing for a period of time .
Through packet capture data , Be able to see EasyCVR The platform is constantly sending start calls to the device invite news .
At the moment of view page interface call, the page is constantly calling the playback interface :
So check the interface code , It is found that only the playback interface is called in the interface , But after the first play , What should be called later is keep alive , Add the following code , Determine when the page requests the playback interface , Call the keep alive interface when there is a stream .
sTime, err := time.ParseInLocation("20060102150405", stime, time.Local)
eTime, err := time.ParseInLocation("20060102150405", etime, time.Local)
var stream *sip.Stream
if url != "" {
urlarr := strings.Split(url, "_")
if len(urlarr) >= 2 {
namearr := strings.Split(urlarr[1], ".")
streamurl := fmt.Sprintf("playback:%s:%s:%s", sipDev.DeviceID, gbchannels[0].ToSIPChannel().DeviceID, namearr[0])
stream, err = uas.Server.TouchStream(streamurl)
}
}Check again , The broadcast message is sent normally , Video playback also returned to normal .
from TSINGSEE Made by Qingxi video EasyCVR Security video cloud services can not only support standard protocols (RTSP、RTMP、Onvif、GB28181 Such agreement ) I have an agreement with the factory ( The sea, SDK、Ehome agreement ) Access to , It can also be compatible with most of the security devices on the market , It can be used as a strong support for the construction of smart city , Welcome to know .
边栏推荐
- Funny! Pictures and texts give you a comprehensive understanding of the effects of dynamics and mass
- Implement typescript runtime type checking
- ## Kubernetes集群中流量暴露的几种方案 Kubernetes集群中流量暴露的几种方案
- Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)
- Tencent blue whale container management platform was officially released!
- 中金证券靠谱吗?是否合法?开股票账户安全吗?
- [playing with Tencent cloud] a solution to the impassability of cross-border access to foreign websites using Tencent cloud CVM
- Several cloud products of Tencent cloud have passed IPv6 enabled cloud logo certification
- Private domain defense in the cotton Era
- Regular expression learning artifact!
猜你喜欢

MySQL learning -- table structure of SQL test questions

A survey on model compression for natural language processing (NLP model compression overview)

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)

A survey on dynamic neural networks for natural language processing, University of California

A survey of training on graphs: taxonomy, methods, and Applications
![[leetcode108] convert an ordered array into a binary search tree (medium order traversal)](/img/e1/0fac59a531040d74fd7531e2840eb5.jpg)
[leetcode108] convert an ordered array into a binary search tree (medium order traversal)
随机推荐
Implement typescript runtime type checking
Enterprise service growth path (7): what key factors will affect SaaS' sales performance?
Bypass kernel function pointer integrity check
5g brings opportunities and challenges. Are you ready to defend against DDoS?
Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)
Heavy release! Tencent cloud ASW workflow, visual orchestration cloud service
主链系统发展解析
2021 devopsdays Tokyo Station ends perfectly | coding experts are invited to share the latest technical information
Page scrolling effect library, a little skinny
Industrial security experts talk about how to guarantee the safety of data elements in the rapid development of digital economy?
Talk about some good ways to participate in the project
AI video structured intelligent security platform easycvr realizes intelligent security monitoring scheme for procuratorate building
TCB series learning articles - using redis extension in cloud functions
Experience and suggestions on cloud development database
How to get the response body content in gin?
After the collective breakthrough, where is the next step of China's public cloud?
[log service CLS] Tencent cloud game battle engine mgobe accesses CLS
AI video structured intelligent security platform easycvr intelligent security monitoring scheme for protecting community residents
Audio knowledge (I)
Introduction to visual studio shortcut keys and advanced gameplay