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

Change vod_hls_encryption_method based on arg or header #1549

Open
aminvakil opened this issue Nov 4, 2024 · 0 comments
Open

Change vod_hls_encryption_method based on arg or header #1549

aminvakil opened this issue Nov 4, 2024 · 0 comments

Comments

@aminvakil
Copy link

aminvakil commented Nov 4, 2024

I was wondering if vod_hls_encryption_method could be changed based on each request for the same location.

We need to disable encryption for custom devices, and as disabling it everywhere requires to purge all caches at once, it is not acceptable for us. Therefore we want to add a specific query parameter which instructs the vod-module to either disable vod_hls_encryption_method or not, and purge cache by time.

So far I have understood that it cannot be given a custom variable and it has been set an enum in source code that does not accept any value expect what that has been defined.

Also we've added NGX_HTTP_SIF_CONF to its definition and was able to define it in an if condition in server block, but it wasn't enabled at all.

It seems like it cannot get changed on runtime, am I right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant