kmp_cc_out_ctrl_retry_interval

The `kmp_cc_out_ctrl_retry_interval` directive defines the time interval for retrying control connection attempts in the Kaltura Media Framework.

Syntaxkmp_cc_out_ctrl_retry_interval seconds;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_cc_out_ctrl_retry_interval directive is an essential parameter in the Kaltura Media Framework for managing control connections for media streaming processes. Specifically, this directive specifies the interval, in seconds, between attempts to re-establish a control connection if the initial attempt fails. This feature is particularly critical in media delivery systems where maintaining a stable control connection is vital for seamless operation and minimal service interruption.

When a control connection is lost due to network issues or server failures, the kmp_cc_out_ctrl_retry_interval determines how long the system should wait before it tries to reconnect. A shorter interval can allow for rapid recovery from connection failures, while a longer interval may reduce the overall load on the network and the server, especially in high-traffic scenarios. It is crucial to select an appropriate value for this directive based on the specific use case and the expected network reliability.

The directive takes a numerical argument indicating the time duration in seconds. It is utilized within the 'stream' and 'stream server' contexts, making it versatile for various server configurations dealing with media-based applications. Proper configuration of this directive helps to ensure consistent performance and robustness in the face of transient connectivity issues.

Config Example

stream {
    server {
        kmp_cc_out_ctrl_retry_interval 5;
    }
}

Setting the retry interval too low may cause excessive connection attempts and network congestion.

If the interval is set too high, it may lead to prolonged downtimes during connection failures.

Make sure to specify the interval in seconds; using other units will result in misconfiguration.

← Back to all directives