Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

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