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: 
El-vishy
Visitor

Differentiating between Live and VOD Stream

I am using following Live Video: Content-Meta-Data, has a property called Live, This property is optional.
videoPlayer.content.Live


Is there a way to identify or differentiate between live and VOD videos?
0 Kudos
1 REPLY 1
speechles
Roku Guru

Re: Differentiating between Live and VOD Stream

Length. VOD sets Length.
Live would set length as 0, or even leave it invalid and then use the live flag to change the "0m" to "LIVE" to display to the user in the video player if you don't want "0m" showing and the progress bar looking silly as it expands offscreen.
0 Kudos
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.