当前位置:网站首页>Easynvr shows that the channel is online but cannot be played. Troubleshooting (non video streaming)
Easynvr shows that the channel is online but cannot be played. Troubleshooting (non video streaming)
2022-06-24 02:40:00 【Tsingsee green rhino video】
Many users have encountered EasyNVR The video channel is online but cannot be played , There are many reasons for this problem . Through the investigation of various projects, we can sum up , Most of the time , This problem is caused by the problem of the original video stream , But if we can't find the problem from the video stream , It's time to check from other aspects .
In a project , The user encountered a video channel online , But the problem of not playing , Ask us for help . We first checked the system log , After searching the log, it is found that the stream is connecting state , When the backend listens for event status, it does not listen connecting state , Added monitoring connecting After the status code connecting All channels in the state are offline :
But this is just connecting Will become offline , In the actual test, it is found that some streams often break and reconnect in a short time , Switch back and forth between offline and online , So we need to change it to connecting Those that can be connected immediately do not display offline .
The logic is changed to judge for three consecutive times connecting Set offline , Reset the number of times to as long as other states occur 0, Write as follows :
Later, it was found that there was a simpler and more accurate way , This is to call back and set offline if an error is encountered when opening the stream , The streams that can be opened correctly are online streams :
边栏推荐
- How to install an application publisher
- October 27, 2021: curriculum. You must take numcourses this semester
- Go language core 36 lecture (go language advanced technology 8) -- learning notes
- How to build a speech synthesis server
- A variety of fixed assets inventory methods to deal with the year-end large inventory of fixed assets
- File access methods on Fortress server how to log in to the server
- Which is a good human voice synthesis platform? What are the human voice synthesis application scenarios
- How to protect your code - ollvm (1)
- How to apply for top-level domain names? What are the types of top-level domain names?
- Cloud rendering: cloud exhibition hall of Tencent digital ecology Conference - open roaming mode on cloud
猜你喜欢
随机推荐
What about registered domain names? How long does it take to register a domain name?
How to apply for top-level domain names? What are the types of top-level domain names?
Does the cloud game server only provide one player? Cloud game server defense capability
Hungry? Remote dual live database practice
DB2 database generates HTML patrol Report
Can cloud computing scale flexibly? What are the characteristics of elasticity?
Wkwebview audio and video media playback processing
How to log in the remote server of Fortress machine working principle of Fortress machine
Prompt error when Jekyll runs cannot load such file -- webrick (LoadError)
Is a trademark domain name useful? How long does it take to register a domain name?
Iranian gas station paralyzed by cyber attack, babuk blackmail software source code leaked | global network security hotspot
How much does it cost to rent a cloud game server? Which cloud game server is more reliable?
How to batch output ean 13 code to pictures
Build your own cloud game server. What if the cloud game server is attacked
How to use the cloud game server is the cloud server stable
What is the backbone of marketing website construction? What does it do?
Gin framework: add API logging Middleware
How to bind EIP to access public network in tke cluster fixed IP mode pod
How to view the speech synthesis platform how to use the speech synthesis platform
Tencent cloud temporary secret key scheme - character recognition example


