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

Add ability to handle Hulu Live "Patch" update Manifests #1426

Open
kcook98765 opened this issue Nov 29, 2023 · 1 comment
Open

Add ability to handle Hulu Live "Patch" update Manifests #1426

kcook98765 opened this issue Nov 29, 2023 · 1 comment
Labels
Issue Type: Improvement issue has requested to improve an existing functionality

Comments

@kcook98765
Copy link

kcook98765 commented Nov 29, 2023

As touched on in:

#1407

Hulu Live streams use a patch type update Manifest ( schemeIdUri = urn:com:hulu:schema:mpd:2017:patch )

Meaning the update manifests are bare bones, only having new <S> segments and occasional (complete) new Periods

I have modified Matt's proxy code to handle this for now, but would be better to have IA handle it at some point.

I basically got it working by keeping a complete copy of the first Manifest, with all elements and attributes, etc strored in a python dictionary.

Then when a patch manifest is received, any new <S> segments are added to the dictionary (to the associated Period and adaptationset ID's) , and any new Period is also added to the dictionary.

Then the dictionary is converted to xml to then pass off to IA.

So it is simply regurgitating the original Manifest, with any new <S> segments and any new Period added to it.

I realize this would be a new "Feature" so maybe a while to implement.

Couple of references (though currently they are not using "PatchLocation", but just "Location" with schemeIdUri = urn:com:hulu:schema:mpd:2017:patch as the indicator that it is a patch vs full manifest.

Couple resources I found in doing this:

https://dashif.org/docs/workshop-2019/16-Cava-2019-12-portland-video-meetup.pdf

https://dl.acm.org/doi/pdf/10.1145/3593908.3593949

Thank You!

@CastagnaIT
Copy link
Collaborator

CastagnaIT commented Nov 29, 2023

interesting thanks for the info
certainly a future improvement to do

partial manifest example #1407 (comment)

issue similar to #1317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue Type: Improvement issue has requested to improve an existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants