pckg_m3u8_ctl_part_hold_back_percent
The `pckg_m3u8_ctl_part_hold_back_percent` directive specifies the percentage of media segments to hold back when serving HLS playlists in Kaltura's media framework.
Description
The pckg_m3u8_ctl_part_hold_back_percent directive is used in the Kaltura Media Framework to manage the delivery of media segments within HLS playlists. By adjusting this directive, you can control how many segments to keep in reserve before making them available for playback. This can be crucial for optimizing stream performance and ensuring smooth playback, especially during live events where there is a need to balance latency and buffering.
Setting the pckg_m3u8_ctl_part_hold_back_percent enables administrators to specify a value between 0 and 100. For example, a set value of 20 might mean that 20% of the most recent segments are held back to ensure that incoming requests for the next segments are met reliably. When the value is set too high, it could lead to an increase in latency if viewers are forced to wait for segments to become available. Conversely, a low value might improve responsiveness but can result in buffer underruns if segments are not available when needed. Adjusting this percentage appropriately can significantly enhance user experience for media playback.
Config Example
server {
listen 80;
location /stream {
pckg_m3u8_ctl_part_hold_back_percent 20;
}
}Ensure the percentage is within the range of 0-100; values outside this range will not be accepted.
Misconfigured values can lead to either excessive latency or buffer underruns during playback, impacting user experience.