pckg_enc_scope

The `pckg_enc_scope` directive defines the scope of package encoding for media streaming in NGINX.

Syntaxpckg_enc_scope value;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The pckg_enc_scope directive, part of the Kaltura Media Framework Common NGINX Module, allows users to specify the scope for media package encoding. This directive can be utilized across the http, server, and location contexts, giving flexibility in configuring media streaming environments. It accepts one argument which can represent a specific encoding scope, thus enabling tailored media encoding strategies based on the defined scope.

When configuring media streaming applications with NGINX, using the pckg_enc_scope effectively directs how the package encoder interacts with media components. It influences aspects like adaptive bitrate streaming and transcoding, effectively impacting how streams are segmented and delivered to clients. By setting this directive appropriately, administrators can ensure that media content is encoded in a manner that aligns with their streaming protocols and performance requirements, facilitating optimized resource utilization and better viewer experiences.

Config Example

http {
    pckg_enc_scope high;
    server {
        location /media/ {
            # Additional configurations
        }
    }
}

Ensure the argument passed to pckg_enc_scope is valid and recognized by the encoding engine.

Be cautious of the context in which pckg_enc_scope is declared; settings might not apply correctly if placed incorrectly.

← Back to all directives