You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I stay in pause longer than dvrWindow size, and than I call timeAsUTC() :
I don't get a constant time,
timeAsUTC() doesn't correspond any more to playback time (as transmitted by the PLAYBACK_TIME_UPDATE event), but corresponds more or less to 'now - dvrWindow length'.
Similar problems with durationAsUTC().
Possible explanations (just assumptions, I don't know much about dash.js implementation)
dvrWindow remains in past, but offset applied to convert time() and duration() to timeAsUTC() and durationAsUTC() is wrong
dvrWindow remains in present, but as time() is clamped between 0 and duration(), timeAsUTC() doesn't provide playback time => time() should be negative in my case
In particular, timeAsUTC() doesn't return the playback time.
=> Is there some way to get the real playbackTime from player (as provided by PLAYBACK_TIME_UPDATE event).
Thanks a lot,
Regards
Notes:
If I look at ControlBar.js, liveDelay is computed as 'var liveDelay = self.player.duration() - value;'.
This is wrong in my case.
Documentation says that timeAsUTC() and durationAsUTC() can only be used for live streams, but does not say that we have to be 'live'.
The text was updated successfully, but these errors were encountered:
Hello,
For a live stream, there is a moving dvrWindow.
If I stay in pause longer than dvrWindow size, and than I call timeAsUTC() :
Similar problems with durationAsUTC().
Possible explanations (just assumptions, I don't know much about dash.js implementation)
In particular, timeAsUTC() doesn't return the playback time.
=> Is there some way to get the real playbackTime from player (as provided by PLAYBACK_TIME_UPDATE event).
Thanks a lot,
Regards
Notes:
This is wrong in my case.
The text was updated successfully, but these errors were encountered: