Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
perrycbrown
Channel Surfer

Jump to end of HLS livestream

Our Roku app has been handling our weekly HLS live stream event for a few months now.

When someone begins to play that stream, the viewer always enters the stream at the beginning, not at the current "end" of the stream where it is truly "live".

I've looked at Roku's Video node documentation, but see no obvious way to jump to the "end" of a current live stream event when the viewer initially plays the stream:

https://developer.roku.com/docs/references/scenegraph/media-playback-nodes/video.md

It seems I can't know how long a stream has elapsed until the viewer has actually viewed the stream the first time (Video.duration description):

The duration of the video being played, specified in seconds. This becomes valid when playback begins and may change if the video is dynamic content, such as a live event.

So, has anyone jumped to the end of a livestream event successfully? How?

0 Kudos
1 REPLY 1
devnullpointer
Streaming Star

Re: Jump to end of HLS livestream

I'm experiencing the same issue, wondering if you solved it? My HLS streams are roughly 3 hours behind on the Roku as opposed to if I play it using ffplay for example.

Thanks.

0 Kudos