Roku Developer Program

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

wrong remaining time on player progress bar

when I play a dash stream, roku player shows wrong remaining time on progress bar - "5h 45m"
And I founded that m.video.duration is set as 1.844674407371e+16
But if I play hls, the remaining time is shown correctly. And the m.video.duration is set correctly.
Does anyone know why the duration is set wrong and from where the player get this value?
I tested by changing m.video.content.length, but this value doesn't effect on progress bar.
0 Kudos
4 Replies
renojim
Level 8

Re: wrong remaining time on player progress bar

Did you try setting m.video.duration manually to see if it's reflected on the progress bar?
0 Kudos
Lim
Level 7

Re: wrong remaining time on player progress bar

"renojim" wrote:
Did you try setting m.video.duration manually to see if it's reflected on the progress bar?

m.video.duration is marked as 'Read-Only' on Document, so I didn't think about set this by myself... hum... let me try.

And the result is...
I could change m.video.duration, but it is replaced by same big number.
0 Kudos
destruk
Level 10

Re: wrong remaining time on player progress bar

It sounds like a firmware error to me.  You are allowing the progress bar to be handled automatically instead of creating it custom?  The duration ought to be in seconds, but you can try setting it /60 to see if the overflow scientific notation changes.
0 Kudos
Lim
Level 7

Re: wrong remaining time on player progress bar

For the update of this issue, I found it working fine after few days. But I don't know how and why....
0 Kudos