ll_segmenter_max_pending_segments

Sets the maximum number of pending segments in the Kaltura Media Framework.

Syntaxll_segmenter_max_pending_segments number;
Defaultnone
Context
Arguments1

Description

The ll_segmenter_max_pending_segments directive controls the number of segments that can be in a pending state while they are being processed by the Kaltura Media Framework. This configuration parameter is critical for managing memory and processing resources, particularly when handling live video streams where segments are created continuously. By defining this limit, administrators can optimize their server performance and resource usage, preventing excessive memory consumption or processing bottlenecks that may occur if too many segments are pending simultaneously.

If the number of pending segments exceeds the specified limit, the server may start to drop incoming segments or significantly delay the processing of these segments, which could lead to interruptions in streaming. The directive is particularly important in high-load environments to ensure that the media pipeline remains fluid and responsive. Administrators should carefully consider their expected segment load and the capabilities of their hardware when setting this value.

It is essential to note that an increase in this limit could lead to higher memory consumption, so it should be balanced with the server's available resources to maintain system stability. The exact impact of changing this directive depends on the specific server architecture and the volume of media traffic being processed.

Config Example

ll_segmenter_max_pending_segments 50;

Setting this value too high may lead to increased memory usage and potential out-of-memory issues.

If the value is set too low, it can result in dropped segments and disruption in media delivery.

← Back to all directives