kmp_cc_out_ctrl_timeout

The directive `kmp_cc_out_ctrl_timeout` sets the timeout for controller commands in the Kaltura Media Framework NGINX module.

Syntaxkmp_cc_out_ctrl_timeout time;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_cc_out_ctrl_timeout directive is essential in managing how long the NGINX server will wait for a response to controller commands in the Kaltura Media Framework environment. This is particularly crucial for applications that involve real-time media streaming, where latency and response time can significantly impact the quality of service. When this timeout is set, NGINX will terminate the processing of a controller command if it exceeds the defined duration, thereby preventing prolonged blocking states that could occur due to unresponsive components or network issues.

The timeout value is specified in seconds and can take different integer values, specifying the length of time NGINX will wait before considering the command as having timed out. This feature helps maintain the overall performance and reliability of the media streaming service, as it mitigates the risk of hanging operations that might affect user experience. It is important for administrators to set this timeout value based on their system’s performance characteristics and the expected behavior of the media processing components.

Config Example

stream {
    server {
        kmp_cc_out_ctrl_timeout 30;
        # Other configurations...
    }
}

Setting the timeout too low may cause valid controller commands to get canceled prematurely, adversely affecting media delivery.

If not set at all, the timeout behavior might be dictated by nitial configurations, which can vary depending on server settings.

← Back to all directives