hlssink3: Ability to resume the playlist on restart
Issue: while generating HLS pipeline may encounter error (or crash) and after error user need to restart the pipeline, on restart hlssink3 will create a fresh playlist, which result in 2 separate hls playlists and then application need to create separate logic to join the 2 playlist.
Solution:
- Add property to hlssink3 to supply an existing segments (or playlist)
- hlssink3 initialize plalist with existing segments(or playlist) date
- hlssink3 add discontinuty tag
- it will start the segment number after the last segment in the supplied segments
Let me know if this makes sense ?