pckg_output_buffer_pool

The `pckg_output_buffer_pool` directive configures the size of the output buffer pool used for Kaltura Media Framework's package delivery.

Syntaxpckg_output_buffer_pool size_in_bytes threshold_in_bytes;
Defaultnone
Contexthttp, server, location
Arguments2

Description

The pckg_output_buffer_pool directive is designed for configuring the output buffer pool size for the Kaltura Media Framework, ensuring efficient media streaming and processing. This directive accepts two numerical parameters that define the buffer size and the threshold for allocation. The values are specified in bytes. Setting this directive appropriately can optimize memory usage and performance when delivering streaming content, especially for high-traffic scenarios.

When the output buffer pool is too small, it may lead to increased latency and buffering issues during media delivery, resulting in a poor user experience. Conversely, over-allocating this buffer may lead inefficient memory utilization, especially if the system has limited resources. The proper configuration allows the Kaltura Media Framework to manage output more effectively, potentially resulting in faster processing of requests and smoother playback for end users. When utilized within http, server, or location contexts, the directive adapts to the specific needs of the configured block, sharing resources efficiently across various scopes.

Essentially, pckg_output_buffer_pool facilitates better resource management and reduces the overhead that arises from connecting to multiple media components, making it a crucial setting for deployments focusing on media delivery performance.

Config Example

http {
    pckg_output_buffer_pool 1048576 512;
}
server {
    location /stream {
        pckg_output_buffer_pool 1048576 256;
    }
}

Ensure the buffer sizes are not set too high as it can lead to memory exhaustion on resource-constrained environments.

Incorrect parameter types (non-numeric) will lead to configuration errors.

Keep in mind the total memory usage; allocating too much can affect other processes on the server.

← Back to all directives