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: 
ionatan
Roku Guru

HLS Live - DVR - Seek to Current Time

Hello,

I am trying to find a solution that when a DVR HLS Live stream opens in the player to start to play it from the current time instead of playing from the beginning.

I've researched video node fields https://developer.roku.com/docs/references/scenegraph/media-playback-nodes/video.md, but I couldn't find any setting for this.

seek trickplay field allows to set current position, but in order to set that to right value you need to have the information about current duration of DVR Live stream.

 

Any suggestions about this?

 

3 REPLIES 3
herlsone
Streaming Star

Re: HLS Live - DVR - Seek to Current Time

Did you figure this out?  I would like to know the answer too!

0 Kudos
goku007
Reel Rookie

Re: HLS Live - DVR - Seek to Current Time

Did you guys try setting the playStart field before starting the playback?

0 Kudos
ionatan
Roku Guru

Re: HLS Live - DVR - Seek to Current Time

I've found a solution for this. It can be done by setting playStart = -1 (minus 1). 

https://developer.roku.com/docs/developer-program/getting-started/architecture/content-metadata.md

Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.