srs icon indicating copy to clipboard operation
srs copied to clipboard

HLS: Should restore the sequence number when restart

Open HappyManYun opened this issue 2 years ago • 1 comments

How to configure the HLS protocol's m3u8 file to not return #EXT-X-MEDIA-SEQUENCE? Otherwise, when the server restarts, the sequence number starts from zero, but the player still has a larger sequence number, causing the player to get stuck.

HappyManYun avatar Apr 09 '23 13:04 HappyManYun

For HLS, the media sequence number is generally used to identify the segment file, which is retrieved by player during playback. This is what caused the player stuck, if the sequence number is not correct. I think we should fix it.

winlinvip avatar Apr 07 '24 22:04 winlinvip