当前位置:网站首页>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 .
边栏推荐
- In those years, I insisted on learning the motivation of programming
- ClassNotFoundException v/s NoClassDefFoundError
- Page scrolling effect library, a little skinny
- 主链系统发展解析
- 网站SEO排名越做越差是什么原因造成的?
- What is the reason for the worse website SEO ranking?
- Development of block hash game guessing system (mature code)
- Nonholonomic constrained robot
- Tensor and tensor network background and significance - basic knowledge
- TCB series learning articles - using redis extension in cloud functions
猜你喜欢

MySQL learning -- table structure of SQL test questions

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

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)

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 set of very good H3C and Tianrongxin Internet cutover scheme templates, with word document download
What is thermal data detection?
Bypass kernel function pointer integrity check
To redefine the storage architecture, Huawei has used more than five "cores"
Development of block hash game guessing system (mature code)
Development analysis of main chain system
Private domain defense in the cotton Era
What is the reason for the worse website SEO ranking?
Tencent blue whale container management platform was officially released!
NFT元宇宙源码搭建解析与介绍
liver failure! My friend made a programming navigation website!
How to collect and define project requirements in the early stage of EDI project implementation?
Radiology: contralateral preoperative resting state MRI functional network integration is related to the surgical results of temporal lobe epilepsy
[tke] enable CPU static management strategy
During JMeter pressure measurement, time_ The number of requests does not go up due to many waits. The problem is solved
2021 devopsdays Tokyo Station ends perfectly | coding experts are invited to share the latest technical information
About with admin option and with grant option
Jmeter+grafana+influxdb build a visual performance test monitoring platform
Video intelligent analysis platform easycvr derivative video management platform menu bar small screen adaptive optimization
The mystery of redis data migration capacity