kmp_republish_interval
Specifies the interval in seconds between republishing configurations for Kaltura media components.
Description
The kmp_republish_interval directive is used to set the interval, in seconds, at which the configuration of Kaltura media components is republished. This directive facilitates the dynamic adjustment of media configurations to ensure that streaming components are synchronized and respond promptly to changes in operational parameters. The value set for this directive can directly impact the responsiveness of the application to configuration changes and should be chosen based on the expected frequency of updates and resource utilization.
When the kmp_republish_interval is configured, the NGINX server will trigger a republishing of the media configurations at the specified interval. This is particularly useful in environments where live streaming is involved, as it allows content delivery to adapt to changes in media availability or configuration without requiring manual intervention or service restarts. The directive thus plays a critical role in ensuring seamless live streaming experiences, especially in highly dynamic environments.
The value for this directive must be a positive integer representing seconds. It is important to choose an appropriate value, as setting it too low may lead to excessive overhead from frequent republish operations, while setting it too high may delay the reflection of necessary configuration changes.
Config Example
kmp_republish_interval 30;
Setting the interval too low can lead to performance degradation due to frequent republishing.
Neglecting to set this directive may result in outdated configurations being used by the media components.