-
Notifications
You must be signed in to change notification settings - Fork 6k
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
HLS: Support variable substitution #4422
Comments
|
Correct. Didn't know about variable substitution. Thanks! |
@ojw28 Does somebody already work on this? Based on a quick look to the code I would start like this: Key-value pairs after the EXT-X-DEFINE tags needs to be saved from the master playlist, and when parsing the hls I would check if a line contains any of the key (in a correct form {$}) and just replace it with the corresponding value. This would take N checks per line, where N is the size of the hash map in which the key-value pairs are stored. Note. rookie here, this would be my seconds contribution to ExoPlayer |
That's a question for @AquilesCanta |
Yes, I have been looking at it. I am currently working a different small feature for HLS, but will look into this right after. |
@AquilesCanta Got it! |
Issue:#4422 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=209958623
Support was added in 2.9.0. |
Hi,
We would like to reduce the size of our HLS manifests and there are really only two ways to do it:
Use relative paths
Use hls variable substitution
I was wondering if Exoplayer supports hls variable substitution and if not, if support can be added.
The text was updated successfully, but these errors were encountered: