kmp_cc_in_send_timeout

The `kmp_cc_in_send_timeout` directive configures the sending timeout duration for Kaltura Media Framework internal communication in streaming contexts.

Syntaxkmp_cc_in_send_timeout time;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_cc_in_send_timeout directive is part of the Kaltura Media Framework Common NGINX Module, specifically designed for managing streaming media. This directive sets a timeout value that defines how long the server will wait for a successful send operation for internal communication within the Kaltura architecture. It is particularly relevant in scenarios where media components, such as transcoders or playback servers, need to communicate efficiently over TCP-based protocols. A shorter timeout may help in quick failure detection for unresponsive components, while a longer timeout could be beneficial in environments with higher latency to avoid unnecessary disconnections.

When configuring this directive, it takes a single argument which specifies the timeout duration. Properly setting this timeout is crucial as it helps to balance between responsiveness and the capability to support various network conditions. If the timeout is reached before the send operation completes, an error will be logged, and the operation will be terminated. It is important to ensure that the selected timeout is aligned with the overall system performance and the typical conditions of the network used by the Kaltura components.

Config Example

kmp_cc_in_send_timeout 30s;

Setting the timeout too low may lead to frequent failures in slow network conditions or high loads.

Not configuring this directive might result in default timeout settings that are inappropriate for Kaltura's internal communication needs.

← Back to all directives