Closed fujunwei closed 8 years ago
Do you reproduce it? It's a key issue for us to publish application, could you please help me to investigate ?
Will look into it now, sorry for the delay.
Unfortunately, I will not be able to help you, there are a few issues. The first and most important, is that the live window is too small (less than 10 seconds most of the time) with only 3 segments[1] forming the playlist. At the slightest buffering, you will always end up falling behind. The second issue that I found is that the playlist refreshing is taking up to 4 seconds, sometimes. This means that if you were playing the "most recent" segment of the playlist (optimistic assumption) and you refresh to get the next segment, due to [1], you will end up playing the oldest segment of the new playlist, after that, you are one delay away from falling behind, if you didn't during the playlist refresh. The first approach and likely the only solution would be to increase the live window to a 30 seconds period, if it is within your reach. Good luck!
You can reproduce this issue with loading below url. http://dlhls.cdn.zhanqi.tv/zqlive/36596_HD3eX_700/index.m3u8?Dnion_vsnae=36596_HD3eX
The detail error messages are: