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

fix: live user seek #7210

Merged
merged 4 commits into from
May 10, 2021
Merged

fix: live user seek #7210

merged 4 commits into from
May 10, 2021

Conversation

brandonocasey
Copy link
Contributor

Description

This fixes two issues.

  1. The current keybinds for seekbar do not take into account that duration will be Infinity for live playback. Which means that they will often throw an error when using for a live video. I fixed this by using the values from live tracker.
  2. API seeks should abide by the liveThreshold this prevents seeks in vhs to just before seekableEnd from causing us to appear behind live. In general the original intention for seekedBehindLive_ was to allow the user to seek behind live and ignore liveThreshold so that it wasn't jarring to the user that they couldn't seek.

@gkatsev gkatsev merged commit 39485fc into main May 10, 2021
@gkatsev gkatsev deleted the fix/live-user-seek branch May 10, 2021 22:42
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
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