segmenter_forward_jump_threshold
The `segmenter_forward_jump_threshold` directive configures the threshold for segment jumping in the Kaltura Media Framework NGINX module.
Description
The segmenter_forward_jump_threshold directive is utilized within the Kaltura Media Framework to control how the segmenter handles forward jumps within the media stream being processed. This directive sets a numeric value representing the threshold for how much the segmenter will allow a forward jump in the playback timeline. If a request to seek beyond this threshold is made, the segmenter will respond accordingly to either fulfill or deny the request based on the configured behavior. This ensures that media playback is seamless and behaves predictably, especially in adaptive streaming scenarios.
When implementing this directive, it is important to understand the context in which it is applied and the interaction with other components of the media processing pipeline. Each segment in adaptive streaming protocols such as HLS or DASH is typically broken into specific durations, so configuring this directive too tightly or loosely might disrupt the user experience or lead to errors during playback. A well-calibrated threshold enables smoother navigation through the media by preventing excessive latency or unexpected buffer times related to segment retrieval.
Config Example
segmenter_forward_jump_threshold 5;
Setting the threshold too low may prevent legitimate forward jumps, impacting user experience.
If the threshold is configured to be excessively high, it could lead to performance degradation due to increased latency in segment retrieval.