Skip to content

Fix multi period seek regression

Created by: nicosang

Hi,

this PR has to solve an issue about seek command in multiperiod static manifest use case. For instance, the stream can be used to reproduce the issue.

1-load the stream 2-seek to the second or third period 3-seek to the first period

=> the stream will be played from the begining of the period of step 2, not from the time of the seek command in the first period.

This issue is a regression introduced by myself in PR #3045, the origin issue was #3042 (closed) . In the previous PR, the main idea was to avoid seek command before initial common start time (the stream has no audio between 0 and 2 seconds). It was a good fix, but not for multiperiod streams.... :-(

Nico

Merge request reports