Skip to content
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

Closed
theifish opened this issue Mar 19, 2016 · 6 comments
Closed

No seeked events when seek to unbeffered position on pause #1261

theifish opened this issue Mar 19, 2016 · 6 comments
Assignees
Milestone

Comments

@theifish
Copy link

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.

@dsparacio
Copy link
Contributor

set scheduleWhilePaused to true on MediaPlayer. and you should have what you need. Will render the stream frame and provide seek events.

@JibberJim
Copy link

Note, many androids won't render the stream frame even in that scenario,
but they won't do it on a normal mp4 either, but they'll still emit the
seeked event.

On Thu, Mar 31, 2016 at 7:50 PM, Dan Sparacio notifications@github.com
wrote:

set scheduleWhilePaused to true on MediaPlayer. and you should have what
you need. Will render the stream frame and provide seek events.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1261 (comment)

@wilaw
Copy link
Member

wilaw commented Mar 31, 2016

@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 ?

@theifish
Copy link
Author

theifish commented Apr 1, 2016

Thanks, setScheduleWhilePaused resolved the issue.

@dsparacio dsparacio added this to the 2.1.0 milestone Apr 1, 2016
@dsparacio dsparacio self-assigned this Apr 1, 2016
@dsparacio
Copy link
Contributor

I am going to turn this on by default.

dsparacio pushed a commit to dsparacio/dash.js that referenced this issue Apr 1, 2016
dsparacio pushed a commit that referenced this issue Apr 1, 2016
@dsparacio
Copy link
Contributor

set true as default for scheduleWhilePaused.

davemevans pushed a commit to davemevans/dash.js that referenced this issue Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants