segmenter_max_span_average
Sets the maximum average span of segments for media streaming in Kaltura Media Framework.
Description
The segmenter_max_span_average directive is designed to control the maximum average span duration of segments when using the Kaltura Media Framework for streaming media content. By specifying this directive, users can optimize their media delivery, ensuring that segments are appropriately sized for playback without causing excessive buffering or latency. This directive plays a crucial role in maintaining the quality of service by influencing how media is divided into manageable chunks for streaming clients.
The parameter for this directive must be defined as a value that represents the maximum average span in seconds. This value is used by the media processing components to balance segment length against network conditions and client capabilities. A smaller value results in more segments being created, which can improve responsiveness but may lead to increased overhead in managing these segments. Conversely, a larger value can decrease the number of segments, possibly improving bandwidth efficiency at the risk of increasing latency for the end-user.
Effective use of segmenter_max_span_average necessitates an understanding of the target audience's network speeds and the expected playback scenarios. In environments featuring high variability in connection reliability or bandwidth, careful tuning of this directive can significantly enhance the user experience without overwhelming the server with too many short-lived resources.
Config Example
segmenter_max_span_average 10; # Sets the maximum average span to 10 seconds
Setting a very low span may lead to excessive segment management overhead.
Values should be tested properly to find the optimal setting based on actual media types and audience connection speeds.