srs
srs copied to clipboard
HLS: Should restore the sequence number when restart
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.
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.