当前位置:网站首页>How to determine whether easycvr local streaming media is started successfully?
How to determine whether easycvr local streaming media is started successfully?
2022-06-24 01:53:00 【Tsingsee green rhino video】
EasyCVR Video protocol convergence platform not only supports the access of conventional protocol , We also expanded Haikang SDK、 Dahua SDK、Ehome Private agreement . If the front-end device protocol is different and the number is large , You can use the EasyCVR Platform to integrate and manage all video channels . and ,EasyCVR Provides a wealth of API Interface , Users can call through the interface document .
Some users propose to use EasyCVR When , It is not clear whether the local streaming media has been started successfully , You need to check in the process manager , Very inconvenient , You need to add streaming media startup information , It is displayed in the background server information .
We analyzed this demand , You can record whether the streaming media is successfully started when the program starts , Get the version , And running time .
Add the following code , To call the interface of streaming media , Get version information from it , And running time , Then put it into the program service interface and return it together .
apiPort := mediaserver.GetHttpApiPort()
resp, err := client.Get(fmt.Sprintf("http://127.0.0.1:%s/api/stat/info", apiPort))
if err != nil {
c.IndentedJSON(http.StatusOK, ack)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
c.IndentedJSON(http.StatusOK, ack)
return
}
params, err := values.NewValuesFromJSON(body)
if err != nil {
c.IndentedJSON(http.StatusOK, ack)
return
}stay EasyCVR Background interface test , You can see that the streaming media information can be successfully obtained , This function was added successfully .
Video fusion cloud platform EasyCVR Set video online sharing 、 Storage 、 Streaming media forwarding 、 Video transcoding 、 Video on cloud 、 Intelligent analysis, unification and other functions are integrated , It has been running stably in many projects , Besides , Video related solutions can be accessed TSINGSEE Qingxi video , You can contact us for a demo , Intuitive feeling , You can also download and test it yourself , Welcome to know .
边栏推荐
- SAP mm Migo + 301 K can transfer vendor consignment inventory across factories
- Software cost evaluation: a method for estimating software scale by fast function point method
- How to create a group on a barcode label
- Analysis report on development trends and prospects of China's pyrolytic boron nitride (PBN) component industry 2022-2028
- Application of "popular science" UAV and video technology in fire scene
- Tke cluster setup linkerd2
- A marriage app_ T signature analysis
- What is data analysis? Analysis is not storytelling... - Cassie kozyrkov
- Grpc: implement grpc proxy
- [tcapulusdb knowledge base] common problems of tcapulusdb local deployment
猜你喜欢
![[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)](/img/c8/f6c2a62b8ab8fa88bd2b3d8f35f592.jpg)
[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)

It's too difficult for me. Ali has had 7 rounds of interviews (5 years of experience and won the offer of P7 post)
![[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)](/img/b5/a8c4bbaf868dd20b7dc9449d2a4378.jpg)
[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)

Review of AI hotspots this week: the Gan compression method consumes less than 1/9 of the computing power, and the open source generator turns your photos into hand drawn photos

layer 3 switch

Stm32g474 infrared receiving based on irtim peripherals

I, a 27 year old female programmer, feel that life is meaningless, not counting the accumulation fund deposit of 430000
随机推荐
Make standardized tools in the cloud native era to realize efficient cloud R & D workflow
What is the difference between code signing certificates? What is the use of code signing certificates?
CLB O & M & operation best practices - big insight into access logs
5、 Array base
[untitled]
Gin framework: implementing timeout Middleware
NFS file systems - mount and optimize
Tcapulusdb Jun · industry news collection
[tcapulusdb knowledge base] how does tcapulusdb add a business cluster cluster?
Go language core 36 lectures (go language practice and application VII) -- learning notes
How to use voice synthesis? Can voice synthesis modify the voice?
Summary of various situations in which easycvr cannot use voice intercom function
Global and Chinese dealox industry development status and demand trend forecast report 2022-2028
[seckill] new / old users lock in the "explosive seckill zone" and snap up the one-year validity cloud function resource yyds for 63 yuan!
Tencent cloud Weibo was selected into the analysis report on the status quo of China's low code platform market in 2021 by Forrester, an international authoritative research institution
Nature Reviews Neuroscience: cognitive and behavioral flexibility - neural mechanisms and clinical considerations
Introduction to easycvr interfacing with Huawei IVS subscription camera and user change request interface
Moment. JS how to use epoch time to construct objects
What is function point analysis - FPA
tokio_ Rustls self signed certificate