You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Yes, this directive does not support variables. But the point about caching didn't make much sense to me...
If you are caching the segments (using a CDN or whatever), you must use different URLs for encrypted / non-encrypted streams, otherwise you can have a mix of encrypted / clear segments in the CDN, and it won't play.
You can use 2 locations, e.g. /hls and /hlsenc (encrypted), and redirect the master.m3u8 request to one of them according to the type of device.
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?
The text was updated successfully, but these errors were encountered: