ts_kmp_republish_interval

Sets the interval for republishing Kaltura Media Framework streams.

Syntaxts_kmp_republish_interval interval;
Defaultnone
Contextstream, stream server
Arguments1

Description

The ts_kmp_republish_interval directive specifies the duration for which a stream will be republished by the Kaltura Media Framework. This interval is important in the context of managing live media streaming as it determines how frequently the system should send updates or republish the media stream over the network. The value is set in seconds and supports a numeric argument that defines this republish duration.

When configured, the directive enables the Kaltura Media Framework to maintain an active media publishing session by periodically updating the stream information. This is particularly useful for scenarios where the media streaming components need to synchronize and maintain live connections, which can help with performance and ensure that media is delivered seamlessly, especially in live broadcasting cases. Proper configuration of this directive is essential to avoid undue load on the server or interruptions in the stream delivery.

It is also important to consider that setting this value too low may lead to excessive traffic or overhead due to frequent updates, while setting it too high might cause delayed updates, leading to a lag in the stream metadata. Finding the right balance based on the specific use case is crucial.

Config Example

stream {
    server {
        ts_kmp_republish_interval 30;
    }
}

Ensure the interval is set appropriately; too low may lead to performance issues, while too high may delay updates.

This directive only applies in the context of stream and stream server definitions.

Confirm that the Kaltura Media Framework module is properly included and loaded in the NGINX configuration.

← Back to all directives