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

parse dash manifest if segment template is out of representation #26

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

brignolij
Copy link

Improve dash parsing by fetching segment template in manifest if located out of representation.

@hugohlln
Copy link

Works perfectly with my DASH manifest !

Thanks @brignolij !

@birme
Copy link
Contributor

birme commented Apr 25, 2023

Thank you for the contribution! We've just added segment template support so if you can rebase with main again and check I can have a look at the PR then.

@m-conti
Copy link

m-conti commented Apr 26, 2023

Hello @birme we have change some part of the code cause with our stream provider some parts didn't work. And I don't know if it's okay for you but I had change some tests because the player https://web.player.eyevinn.technology/index.html wasn't able to decode url encoded, I hope it'll be good for you.
Thank to you

@m-conti
Copy link

m-conti commented Apr 26, 2023

and in the HLS part I've remove a part because it was already include in the package '@eyevinn/m3u8'

@birme
Copy link
Contributor

birme commented Apr 26, 2023

Thanks, we'll review!

@birme
Copy link
Contributor

birme commented Apr 26, 2023

Btw. can you rebase, fix linting issues and resolve the conflicts with main first though.

@birme birme requested a review from ShibireX April 26, 2023 14:27
Copy link
Contributor

@ShibireX ShibireX left a comment

Choose a reason for hiding this comment

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

The solution is clean and should work as intended for most cases, good job! From what I see however, the baseURL handling could lead to errors in edge cases since it can appear in different contexts throughout the manifests. For the purpose of our proxy, removing the baseURL from the manifest ensures that we always resolve the segment URLs appropriately, instead of parsing the baseURL which can lead to unwanted behavior. If you are curious as to how we solved this same issue, you can peek at main. Other than that, I think it is a good improvement to the codebase!

@brignolij brignolij force-pushed the improve-dash-manifest-parsing branch from 7354b25 to 9431fc1 Compare May 5, 2023 14:12
@brignolij brignolij force-pushed the improve-dash-manifest-parsing branch from 9431fc1 to 7cbfe18 Compare May 5, 2023 14:14
@brignolij
Copy link
Author

brignolij commented May 8, 2023

@ShibireX we rebased our branch.
Regards

@birme
Copy link
Contributor

birme commented May 17, 2023

Sorry, but can you rebase with main again and resolve any conflicts? Thanks

@m-conti
Copy link

m-conti commented May 17, 2023

hello @birme, we still do some changes cause with different manifest and provider we have some issues.
We will do some tests on different type of (stream / manifest / providers / players) before rebase.
I think after all of this we will need another review.
I've do some workaround maybe you can find some better solutions

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.

5 participants