vod_drm_upstream_location

The `vod_drm_upstream_location` directive specifies the upstream server location used for Dynamic Range Memory (DRM) in video-on-demand (VOD) packaging.

Syntaxvod_drm_upstream_location URL;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The vod_drm_upstream_location directive is a configuration option found within the NGINX-based VOD Packager module. This directive allows you to specify an upstream location for handling DRM-protected media content. When serving video content, especially in formats supporting Digital Rights Management (DRM), this directive ensures that requests for encrypted video segments are correctly routed to the designated DRM server. The upstream location can be specified as a full URL or a location path, allowing flexibility in your VOD architecture.

When used, the directive should be placed in an appropriate context such as http, server, or location. This placement affects its inherited behavior throughout the NGINX configuration. The function of this directive is to enhance the security and control over video streaming by integrating with a DRM system, which can validate licenses, manage access, and decrypt the video on the fly, ensuring that only authorized users can view the content. Proper configuration plays a crucial role in the seamless delivery of DRM content, as issues here can lead to playback errors or unauthorized access to protected media.

Config Example

location /video {
    vod_drm_upstream_location http://drm-server.com/drm;
}

Ensure the upstream URL is correctly formatted; incorrect URLs may result in broken links for DRM-protected content.

Placement of the directive is crucial – it should be within the correct context for expected behavior.

Misconfigurations in the upstream server can lead to 403 Forbidden or 404 Not Found errors for protected content.

← Back to all directives