mirror of https://github.com/ekimekim/wubloader
restreamer: Fix a bug where playlist reports video is finished spuriously
This happens when we are live viewing a stream, and the last available segment is at the end of an hour. We generate the end timestamp as being the end of the last available hour, which might be within the range of the last available segment. When this happens we stream the last segment then say we reached the requested end point. This makes the player stop asking for more segments. The fix is to pad the end time by an extra hour so we're asking for 1 hour more than the last available hour.pull/389/head
parent
daf6001402
commit
f9ff537b84
Loading…
Reference in New Issue