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

dash manifest: use latest_version instead of direct videoplayback URL #38

Open
unixfox opened this issue Dec 25, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@unixfox
Copy link
Member

unixfox commented Dec 25, 2024

As of right now, the dash manifest file is constructed with fixed videoplayback URLs.

This poses some issues:

  • The URL is fixed. If that URL becomes invalid for some reason, then video.js has no way to ask from the backend for a new videoplayback URL.
  • When using a proxy, the outgoing IP address for the proxy might change and thus render the videoplayback URL invalid.

The idea of this enhancement is to replace all the "BaseURL" parameters with latest_version endpoints. This allows to always get the latest and fresh videoplayback URL.

From:

<BaseURL>/videoplayback?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</BaseURL>

To:

<BaseURL>/latest_version?id=jNQXAC9IVRw&itag=140&local=true&check=XXXXXX</BaseURL>

Important point:

Improvements:

  • We will be able to cache the DASH manifest file, since it won't include any fixed videoplayback URL anymore.

Related:

@unixfox unixfox added the enhancement New feature or request label Dec 25, 2024
@unixfox unixfox closed this as completed Dec 25, 2024
@unixfox unixfox reopened this Dec 25, 2024
@unixfox
Copy link
Member Author

unixfox commented Dec 25, 2024

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

No branches or pull requests

1 participant