当前位置:网站首页>How to solve the problem that flv video stream cannot be played and TS file generation fails due to packet loss?

How to solve the problem that flv video stream cannot be played and TS file generation fails due to packet loss?

2022-06-23 08:13:00 EasyNVR

EasyGBS Can provide RTSP、RTMP、FLV、HLS、WebRTC And so on , It can also provide HTTP API Interface , The running status information of streaming media forwarding service can be obtained through the interface , Forward session information , Server configuration and version information, etc .

Recently, we received feedback from users , Reflect the scene EasyGBS It can play HLS Video streaming , however FLV The video stream of the protocol cannot be played . The technician checked the problem at the first time .

In response to this problem , Our first consideration is the user's FLV The agreement is not open , Coordinate users to view , Find out FLV It's also open . So we conducted a remote investigation , During the investigation, it was found that , The user can play HLS Video stream is not the current real-time video stream , It's a historical video stream .

Look again HLS Folder , Check if... Is generated ts file . The investigation found that although there were ts File generation , But there is a problem with the generated file , Only a short paragraph , Not a complete video .

So you can view by capturing packets , It is found that the stream transmitted from the user's device is very unstable , There is packet loss . So we consider switching the video streaming protocol , Change it to tcp passive , Test again to see , It's generated at this point ts The slicing files are all normal , The video stream can also be played normally .

As a supporting national standard GB28181 Video monitoring platform based on the protocol ,EasyGBS Platform usage scenarios are very extensive , At present, there are a large number of offline actual landing projects , Such as smart power 、 Smart factory 、 Smart construction site, etc .

We will also update about... In the article from time to time EasyGBS Function development and optimization of 、 Configuration tutorial 、 Troubleshooting, etc , Welcome to our update , Or leave a message to interact with us .

原网站

版权声明
本文为[EasyNVR]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/01/202201121854510288.html