segmenter_backward_jump_threshold
The `segmenter_backward_jump_threshold` directive sets a threshold for the number of segments to jump backward when seeking in video streams.
Description
The segmenter_backward_jump_threshold directive is specifically designed to improve the experience of seeking in video streams managed by the Kaltura Media Framework. This directive specifies the maximum number of segments that the media player can jump backward when a seek operation is performed. By configuring this value, one can optimize playback performance and reduce buffering events that occur during seeking, as it affects how the video player interacts with the stream segments based on user requests.
The parameter for this directive is an integer that represents the maximum count of segments to consider when jumping backward. Setting this value too low may cause excessive buffering if the user often seeks back in the stream, while a value set too high can lead to unnecessary delays and may strain system resources by fetching more segments than needed. Hence, it's vital to find a balance based on the typical usage patterns and stream formats being used in the media setup.
The behavior of this directive is crucial especially within adaptive bitrate streaming contexts, where segments are used to provide varying quality levels based on network conditions and client capabilities. A well-tuned segmenter_backward_jump_threshold will help ensure a seamless viewing experience, mitigating the potential for delays and improving the responsiveness of the video player during interactive sessions.
Config Example
segmenter_backward_jump_threshold 5;
Ensure that the value is appropriate for the average length of segments to avoid excessive seeking delays.
Setting the threshold too high can overload the server with requests for multiple segments simultaneously.
Not every media player may handle the jumping of segments gracefully if set inappropriately.