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 download of some HLS assets #3934

Merged
merged 3 commits into from Feb 10, 2022
Merged

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented Feb 9, 2022

Fix download of https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8

The filterManifestByMediaCapabilities method is async, but the code doesn't wait for it to finish before continuing the download process. This PR fix it.

@joeyparrish
Copy link
Member

Looks like there are a bunch of test failures in the compiled build. Please try running the tests with test.py --uncompiled.

If they pass in uncompiled mode, that would imply some compiler issue.

If they still fail, the stack trace should give you more information about what is wrong or missing.

@avelad
Copy link
Collaborator Author

avelad commented Feb 10, 2022

@joeyparrish I have managed to fix the error when compiling, I don't really know why it is, but it passes all the tests

@joeyparrish joeyparrish merged commit 36ca820 into shaka-project:master Feb 10, 2022
@avelad avelad deleted the missing-await branch February 11, 2022 06:23
joeyparrish pushed a commit that referenced this pull request Feb 16, 2022
Fix download of https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8

The filterManifestByMediaCapabilities method is async, but the code doesn't wait for it to finish before continuing the download process. This PR fix it.

This also fixes a hidden compiler issue caused by the use of an alias for StreamUtils.
joeyparrish pushed a commit that referenced this pull request Feb 16, 2022
Fix download of https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8

The filterManifestByMediaCapabilities method is async, but the code doesn't wait for it to finish before continuing the download process. This PR fix it.

This also fixes a hidden compiler issue caused by the use of an alias for StreamUtils.
joeyparrish pushed a commit that referenced this pull request Feb 16, 2022
Fix download of https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8

The filterManifestByMediaCapabilities method is async, but the code doesn't wait for it to finish before continuing the download process. This PR fix it.

This also fixes a hidden compiler issue caused by the use of an alias for StreamUtils.
joeyparrish pushed a commit that referenced this pull request Feb 16, 2022
Fix download of https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8

The filterManifestByMediaCapabilities method is async, but the code doesn't wait for it to finish before continuing the download process. This PR fix it.

This also fixes a hidden compiler issue caused by the use of an alias for StreamUtils.
@avelad avelad added this to the v4.0 milestone May 4, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants