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

bug in toDash() function #630

Open
3 of 4 tasks
rizer234 opened this issue Apr 9, 2024 · 1 comment
Open
3 of 4 tasks

bug in toDash() function #630

rizer234 opened this issue Apr 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rizer234
Copy link

rizer234 commented Apr 9, 2024

Steps to reproduce

for a specific video with id: "qkWqt4Bo1E4"
if we already have Innertube session:

1. const videoInfo = await Innertube.getInfo("qkWqt4Bo1E4");
2. const dash = await videoInfo.toDash()

error raises in step 2.

Failure Logs

Failed to extract the segment durations from this OTF stream

Expected behavior

we expect to responses dash format of videoInfo.

Current behavior

raises an error:
Failed to extract the segment durations from this OTF stream

Version

Edge

Anything else?

No response

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@rizer234 rizer234 added the bug Something isn't working label Apr 9, 2024
@rizer234 rizer234 changed the title <latest> <bug in toDash() function> bug in toDash() function Apr 9, 2024
@absidue
Copy link
Collaborator

absidue commented Apr 9, 2024

Working fine here for me. Generating a manifest for a video with OTF streams, requires downloading the first segment of the OTF stream, to find out how many segments that stream has and how long each segment is, so please make sure that your device is able to successfully send requests to the video streaming endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants