HLS Live Playlists Problem

The Roku implementation of HLS seems to always start at the first segment of a playlist.

This is fine for VOD or Sliding Window Live playlists, but for Full Event Live DVR playlists (lacking EXT-X-ENDLIST, and having either no EXT-X-MEDIA-SEQUENCE, or an EXT-X-MEDIA-SEQUENCE = 0) that is not correct behavior.

Full-event Live playlists should start 3-5 segments from “Live”. Is there a workaround for this outside of manually seeking to total duration - (segment duration * 3)?

Set the PlayStart value to a high number. I usually use the current time in seconds.

Will any value greater than the current duration work? Or is “right now” in seconds important? I don’t use EXT-X-PROGRAM-DATE-TIME

“joeflateau” wrote:
Will any value greater than the current duration work? Or is “right now” in seconds important? I don’t use EXT-X-PROGRAM-DATE-TIME
Any number higher than the current duration should work. Using the current time just ensures that it’s definitely set high enough.

I see, I see. Thank you for the help!

Setting PlayStart on the video object to -1 is even easier and also did the trick for me.

Nice solution! I was about to set it to Int’s Max Value