kmp_cc_out_ctrl_buffer_size

The `kmp_cc_out_ctrl_buffer_size` directive sets the size for the control buffer used in the Kaltura Media Framework.

Syntaxkmp_cc_out_ctrl_buffer_size size;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_cc_out_ctrl_buffer_size directive configures the buffer size for control messages within the Kaltura Media Framework's streaming context. This buffer is crucial for managing the data flow of control messages transmitted alongside media streams. Specifically, it affects how efficiently control messages can be processed and transmitted back and forth between media components, ultimately impacting latency and throughput in streaming applications.

The parameter for this directive is specified in bytes and determines the maximum size that the control buffer can take. If the buffer is too small, it could lead to dropped messages or errors in control messaging, which might hinder the performance of media processing tasks. On the other hand, setting it too high could lead to unnecessary memory consumption, especially if the deployed media components do not require a large message size.

This directive can be defined within the stream or stream server contexts, thus allowing fine-grained control over its functionality, which is particularly important for optimizing resource allocation in live streaming scenarios.

Config Example

stream {
    server {
        kmp_cc_out_ctrl_buffer_size 512k;
    }
}

Ensure that the buffer size is appropriate for your streaming application's control message needs; too small may result in dropped messages.

Be cautious of setting this size excessively high to avoid wasting memory resources.

Consider the overall server and network performance when configuring this directive.

← Back to all directives