Skip to content

fix for segmenttimeline live start #1729

Vinay Rosenberg requested to merge github/fork/dsparacio/development into development

Created by: dsparacio

So when I refactored for Dynamic multiperiod I noticed a "way too complex" system used for liveedge search as a rule. I removed a ton of code to simplify this and that was successful except I missed one line that was critical for segmentTimeline since it does not use Timesync.

timelineConverter.setTimeSyncCompleted(true);

So for SegmentTimeline the seekAtStart was not called properly.

I believe setting this from a single point, at live edge search complete handler in schedule controller is the best place in the code. Other option is, we can add back in the handler into timelineConverter just to set this locally but I think that actually makes it more confusing . IMHO.

I tested with some URLS in the issues as well as all of the live streams in the live section in the player. All is working as expected.

Merge request reports