pckg_uri

The `pckg_uri` directive defines the URI used by the Kaltura Media Framework for packaging media requests.

Syntaxpckg_uri URI;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The pckg_uri directive in the Kaltura Media Framework Common NGINX Module is intended to specify the uniform resource identifier (URI) for media packaging operations. This directive can be configured in various contexts, including http, server, and location, allowing flexibility in how different parts of your NGINX configuration interact with media packaging services. By setting this directive, you can direct how media content is processed and packaged for delivery, which can optimize performance and resource management across different server deployments.

When you use the pckg_uri directive, you must provide a single argument that specifies the packaging URI. This URI will typically point to a service or endpoint responsible for handling media packaging requests, which is crucial in environments where multiple components interact to manage media content lifecycle. Correctly configuring this directive ensures that your media streaming service operates reliably, and all components can effectively communicate to deliver the desired media experience.

Overall, the behavior of the pckg_uri directive is straightforward but critical, as it ensures that the backend processing service for media content knows where to direct its requests based on how you have structured your NGINX server's routing and handling mechanisms.

Config Example

http {
    server {
        location /media {
            pckg_uri /api/media/package;
        }
    }
}

Ensure the URI is correctly formatted to avoid routing errors.

Do not forget to set this directive if media packaging functionality is required, as it may lead to failures in media processing.

The directive must be placed in the correct context (http, server, or location) to be effective.

← Back to all directives