ll_segmenter_start_period_threshold

The `ll_segmenter_start_period_threshold` directive configures the threshold for segmenting live media streams in the Kaltura Media Framework.

Syntaxll_segmenter_start_period_threshold seconds;
Defaultnone
Context
Arguments1

Description

The ll_segmenter_start_period_threshold directive is part of the Kaltura Media Framework's NGINX module, which facilitates live video streaming. This directive specifically establishes the minimum duration, in seconds, of a streaming period before the segmenter begins to create media segments. By setting this threshold, administrators can control the latency and responsiveness of segment creation, which is crucial for live streaming scenarios where timely delivery of content is essential. Depending on the value set for this directive, the segmenting process may start immediately or be delayed, impacting the viewer's experience during the commencement of a live stream.

The parameter for this directive must be a positive integer representing the threshold in seconds. If set to a low value, segment creation can begin shortly after the stream starts; however, setting it too low may lead to performance issues or increased load on the server if many segments are generated quickly. Conversely, setting the threshold too high might result in noticeable delays in viewership, as segments will not be available immediately. Therefore, it is crucial to find a balance that fits the streaming needs and server capabilities. This directive might be particularly useful in scenarios where stream stability and consistency are prioritized over immediate segment availability.

Config Example

ll_segmenter_start_period_threshold 5;

Setting the threshold too low may lead to excessive load on the server as too many segments are created quickly.

Values that are too high may cause delays in streaming, leading to a poor user experience.

Make sure that the value set is appropriate for the type of content being streamed, as different scenarios may require different threshold settings.

← Back to all directives