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

Ingress of HLS playlists with multiple variants fail #310

Open
olafal0 opened this issue Sep 20, 2024 · 1 comment · May be fixed by #311
Open

Ingress of HLS playlists with multiple variants fail #310

olafal0 opened this issue Sep 20, 2024 · 1 comment · May be fixed by #311

Comments

@olafal0
Copy link

olafal0 commented Sep 20, 2024

Creating an ingress with a HLS playlist that lists multiple variants isn't supported; for example:
https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8

Specifically, the ingress reaches state ENDPOINT_ERROR with error failed to add element to pipeline: video output bin.

Selecting a single variant from that m3u8 (e.g. https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/v7/prog_index.m3u8) works great.

It would be helpful to have some way to automatically select a variant so that each client doesn't have to parse playlists themselves. Ideally, I could specify a maximum bitrate and let the ingress service choose the highest bitrate variant that's within the maximum. (Or, very naively, simply choose the last variant listed.)

PS: I'd be happy to work on a PR for this.

@davidzhao
Copy link
Member

This direction makes sense! we'd appreciate any contributions to improve the behavior here.

@olafal0 olafal0 linked a pull request Oct 22, 2024 that will close this issue
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 a pull request may close this issue.

2 participants