kmp_cc_out_republish_interval

The 'kmp_cc_out_republish_interval' directive specifies the interval for republishing content in Kaltura's media framework.

Syntaxkmp_cc_out_republish_interval interval;
Defaultnone
Contextstream, stream server
Arguments1

Description

The 'kmp_cc_out_republish_interval' directive is utilized within the Kaltura Media Framework to control how often content is republished to clients in a streaming environment. This directive is designed for use in both 'stream' and 'stream server' contexts, indicating its relevance in configuring the behavior of streaming servers specifically tailored for Kaltura's media delivery protocols.

The primary function of this directive is to set a specific time interval at which the streaming server will republish content to connected clients. This can be critical in scenarios where real-time media delivery is essential, such as live streaming events. By adjusting this interval, administrators can optimize the refresh rate of the media stream based on network conditions, viewer demands, or the resource capability of their server infrastructure.

When configuring this directive, a numeric value is required as its argument, representing the time interval in seconds. For instance, a setting of '5' would imply that the content is republished every 5 seconds. Such flexibility allows for fine-tuning of the performance based on varying use cases, including live events or pre-recorded streams.

It is important to test and monitor the effectiveness of the chosen interval, as too frequent republishing might introduce unnecessary load on the server and network, while too infrequent might lead to outdated content being displayed to users.

Config Example

stream {
    server {
        kmp_cc_out_republish_interval 5;
    }
}

Setting the interval too low can lead to increased server load and bandwidth consumption.

Not all streaming scenarios may benefit from frequent republishing; evaluate the context of usage.

← Back to all directives