kmp_cc_out_buffer_bin_count

The `kmp_cc_out_buffer_bin_count` directive defines the number of output buffer bins used for Kaltura media streaming in NGINX.

Syntaxkmp_cc_out_buffer_bin_count number;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_cc_out_buffer_bin_count directive is part of the Kaltura Media Framework Common NGINX Module, and it specifies the number of output buffer bins available for managing media stream data within the Kaltura media streaming context. Each output buffer bin acts as a storage unit to temporarily hold media packets before they are sent over the network, which helps optimize the flow of data and manage resource utilization during streaming events. By adjusting the count of these bins, administrators can fine-tune how data is buffered, potentially improving streaming performance, minimizing latency, and mitigating packet loss during high load conditions.

When configuring this directive, the user needs to provide a single argument which represents the desired number of output buffer bins. Choosing too few bins may lead to bottlenecks in data processing, while too many could lead to unnecessary memory overhead. It’s important for users to consider their specific use cases, such as the number of concurrent streams and their bandwidth requirements, when setting this directive. It's also essential to monitor the performance and adjust the value accordingly based on the server load and media traffic patterns.

Config Example

kmp_cc_out_buffer_bin_count 5;

Setting a very high number may lead to excessive memory usage.

Not adjusting the bins based on stream load could lead to performance degradation.

← Back to all directives