pckg

The 'pckg' directive in Kaltura's NGINX module facilitates the configuration of media packaging settings for the delivery of streaming content.

Syntaxpckg;
Defaultnone
Contextlocation
Argumentsnone

Description

The 'pckg' directive is specifically designed to support media packaging functionalities within Kaltura's Media Framework, enhancing its ability to manage video and audio streams effectively. When placed inside a 'location' block, it operates seamlessly with the framework's routing capabilities, allowing developers to define how media assets are packaged and processed prior to delivery. The directive does not take any additional parameters, which simplifies its use significantly as it relies on default packaging behaviors unless specified otherwise in the related configurations.

In practical applications, the 'pckg' directive acts as a toggle to enable or disable the packaging processes handled by the backend media components. While it does not allow for fine-grained control through parameters, it ensures that any default packaging strategies established in the overarching configuration are respected. This means that its presence indicates an intent to utilize the media framework's capabilities, while its absence may imply a different processing route or handling outside of the specified Kaltura framework settings.

Additionally, its integration is essential for maintaining compatibility with the various protocols and protocols used in Kaltura’s media delivery, including Kaltura Media Protocol (KMP) and Kaltura Segmented Media Protocol (KSMP). These protocols require consistent management of media chunks, and the 'pckg' directive aids in ensuring that media segments are appropriately prepared and delivered to clients.

Config Example

location /stream {
    pckg;
    # other configuration settings...
}

Ensure that the directive is correctly placed within a location block as it will not function otherwise.

Be aware that the absence of the 'pckg' directive may lead to unintended default behaviors that do not leverage the Kaltura Framework features.

← Back to all directives