pckg_m3u8_enc_key_uri

The `pckg_m3u8_enc_key_uri` directive specifies the URI for the encryption key used in HLS streaming with Kaltura Media Framework.

Syntaxpckg_m3u8_enc_key_uri URI;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The pckg_m3u8_enc_key_uri directive is utilized in the Kaltura Media Framework to define the Uniform Resource Identifier (URI) from which encryption keys for HLS (HTTP Live Streaming) can be fetched. This is a crucial setting for media securely delivered over HLS, as it ensures that the keys are properly referenced when generating M3U8 playlists. The designated URI is typically used to retrieve keys that will be utilized to encrypt video segments in compliance with DRM (Digital Rights Management) requirements.

This directive can be placed in multiple context levels, including http, server, or location, allowing for flexible configurations depending on the needs of your streaming setup. The argument should be a valid URI string, which defines where the client can obtain the necessary encryption key for decrypted playback. Depending on the media strategy and security needs applied in a streaming instance, this directive can significantly affect the overall access and security of the streamed content.

It is essential to ensure that the URI provided is correct and accessible during playback; otherwise, clients will fail to decrypt the media segments, resulting in playback issues. Implementations should confirm that the URI points to a resource capable of responding correctly to requests for keys, following the HLS specification.

Config Example

server {
    listen 80;
    location /stream {
        pckg_m3u8_enc_key_uri "https://example.com/keys/key.bin";
    }
}

Ensure the URI is accessible from the client-side; otherwise, decryption will fail.

Confirm the specified key URI follows the syntax requirements for HLS encryption. Each media segment will require the key to be retrievable from the provided URI.

Do not confuse this directive with any general security settings; it only pertains to HLS key retrieval.

← Back to all directives