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

feat: Configurable live seekable window #997

Merged
merged 21 commits into from
Dec 2, 2020
Merged

Conversation

dario-fiore
Copy link
Contributor

Description

During live streaming in low bandwidth situations playback-watcher try different times to seek to live edge without waiting for buffered contents. This behaviour causing waiting status "loop" because buffer will never reach minimum contents in order to perform playback.

Specific Changes proposed

Configure method beforeSeekableWindow_ in order to accept new configuration parameter liveRangeSafeTimeDelta to adjust safe time delta.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (JSBin)
  • Reviewed by Two Core Contributors

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

src/playback-watcher.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@gkatsev gkatsev added this to the 2.4 milestone Nov 17, 2020
@dario-fiore
Copy link
Contributor Author

@gkatsev It seems that tests fail for timeout. I tried locally on 2.3.0 and errors are the same. Any ideas?

@gkatsev
Copy link
Member

gkatsev commented Nov 18, 2020

Not sure, I'll take a look.

@dario-fiore dario-fiore changed the title Feat/config live seekable window feat: Configurable live seekable window Nov 23, 2020
@gkatsev gkatsev merged commit ad5c270 into videojs:main Dec 2, 2020
@welcome
Copy link

welcome bot commented Dec 2, 2020

Congrats on merging your first pull request! 🎉🎉🎉

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

Successfully merging this pull request may close these issues.

2 participants