-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No seeked events when seek to unbeffered position on pause #1261
Comments
set scheduleWhilePaused to true on MediaPlayer. and you should have what you need. Will render the stream frame and provide seek events. |
Note, many androids won't render the stream frame even in that scenario, On Thu, Mar 31, 2016 at 7:50 PM, Dan Sparacio notifications@github.com
|
@AkamaiDASH - we had discussed setting scheduleWhilePaused : true to be the default, as this is intuitively the behavior that most people would expect. I can make a PR for that if we don't already have one or its being picked up as part of another PR ? |
Thanks, setScheduleWhilePaused resolved the issue. |
I am going to turn this on by default. |
set true as default for scheduleWhilePaused. |
I try to seek on unbuffered position in my player when video paused.
The lib tells me something like this:
[11171] Seeking to: 233.3298552 dash.all.min.js:2
[11172] Waiting for more buffer before starting playback.
And nothing else. So, my player doesn't see seeked event and shows infinity loading indicator.
When I seek mp4 file (on pause), video element fires "seeked" event and shows frame related to new time position. It'll be great, if Dash.js could do the same.
The text was updated successfully, but these errors were encountered: