当前位置:网站首页>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 :
边栏推荐
- DB2 database generates HTML patrol Report
- Prompt error when Jekyll runs cannot load such file -- webrick (LoadError)
- What about foreign trade companies? Is this another difficult year?
- How to protect your code - ollvm (1)
- What is data matrix code
- The principle of Fortress application publisher
- Afnetworking usage and cache processing
- How to build a speech synthesis server
- How to build your own cloud game server and what are the building steps
- How about Tencent cloud game server? Can the cloud game server play games
猜你喜欢
随机推荐
What is the difference between cloud desktop cloud terminal and server? What are the advantages of cloud desktop?
IPhone sending SMS implementation
How does [lightweight application server] build a cross-border e-commerce management environment?
What are the general contents of the enterprise website construction scheme
Activiti obtains the initiator based on the process instance ID
Uiscrollview add gestures show and hide keyboard
Coding helps Jiangsu high-speed information to achieve organizational agility and R & D agility, leading the new infrastructure of Intelligent Transportation
Where is the domain name filed? What materials are required for domain name filing?
What is the meaning of scdo? Is it comparable to bGH
Hungry? Remote dual live database practice
Uipickerview show and hide animation
How to quickly handle third-party login and easy to expand?
In PHP, use recursive depth to merge multiple arrays
Buddha's foot before examination: the second play of leetcode
The easydss on demand file upload interface calls postman to report an error. Failed to upload the file?
Buddha's foot before examination: the third bullet of leetcode
How about Tencent cloud game server? Can the cloud game server play games
Tke single node risk avoidance
What is the backbone of marketing website construction? What does it do?
How to bind EIP to access public network in tke cluster fixed IP mode pod


