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

FATAL_ERROR after second seek near end of the stream #183

Open
jarek-vewd opened this issue Nov 24, 2020 · 6 comments
Open

FATAL_ERROR after second seek near end of the stream #183

jarek-vewd opened this issue Nov 24, 2020 · 6 comments

Comments

@jarek-vewd
Copy link

Prerequisites:
Google Chrome 87.0.4280.66
BigScreen player: 4.4.3
Stream: https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd (default)

Steps to reproduce:
In devtools execute below commands on video tag:

  1. $0.play()
  2. $0.currentTime = 634.1
  3. Wait for video to ends
  4. $0.currentTime = 0
  5. $0.play()
  6. $0.currentTime = 634.1
  7. The second seek should fail with FATAL_ERROR, if not repeat points 4-6

The bug is a some kind of a race in the JS. Bug reproduce more frequently after enabling Verbose log level. Error occures also in Vewd Tv browser.

Note:
Near-end seek is extensively used in BBC Iplayer. When user perform the seek to the end of a stream in the UI, the BBC Iplayer set the current time right before end of a stream to play last seconds of the video.
The issue does not reproduce on Dash Reference Client 3.1.3

Log from first succeeded seek:
first_seek.log

Log from second failed seek:
second_seek.log

@jlks
Copy link
Contributor

jlks commented Nov 24, 2020

Thanks @jarek-vewd we will take a look.

@jarek-vewd
Copy link
Author

Hi @jlks
Have you had time to see the error?

@domjacks
Copy link
Contributor

@jarek-vewd Hi. We've now released an updated version of bigscreen-player along with Dash.js v3.2.0.

Let me know if this resolved your issues 😄

@wfilipek
Copy link

Hi @domjacks
I check it and it looks that the "second seek problem" is solved in some way, no fatal error.
However, another problem occurs, IMO related to this solution.
After seeking to the end, it shows the recommendation screen only for series and only if there is next episode available. For movies and last episodes of series, nothing happens for 60sec and then it comes back to the movie/series main screen. As movies are handled as 1 episode series, I think there is a problem with handling the recommendation screen on the last episode of the series.

@domjacks
Copy link
Contributor

Hey @wfilipek, thanks for the contact.

This sounds like a BBC iPlayer problem and not specific to Bigscreen-player per se.

If you wouldn't mind, it would be great if you could send your feedback using the BBC iPlayer help webpage:
https://www.bbc.co.uk/iplayer/help/contact-iplayer-help

@wfilipek
Copy link

wfilipek commented Aug 27, 2021

Hi @domjacks
It looks that I assumed too quickly that the second-seek problem is solved. As the repro ratio is not 100%, today I perform a re-check and the problem still occurs, the same as described originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants