vod_bootstrap_segment_durations

The `vod_bootstrap_segment_durations` directive configures the duration of bootstrap segments in the NGINX-based Video on Demand packaging module.

Syntaxvod_bootstrap_segment_durations time;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The vod_bootstrap_segment_durations directive allows users to specify the duration of bootstrap segments when serving video content via NGINX. Bootstrap segments are the initial segments that provide the player with information about the media content and are critical for adaptive bitrate streaming. The use of this directive helps in optimizing the playback experience by controlling how information is presented to the player at the start of the video stream.

By setting the duration with this directive, administrators can define how long each bootstrap segment will last, which in turn affects the time it takes for the media player to start playback. This directive is useful in scenarios where quick startup time is crucial, and it can help in ensuring that the player has sufficient information to efficiently begin streaming the content. The parameter for this directive should be an integer value that indicates the segment duration in seconds.

In contexts where this directive is defined (http, server, or location), it takes precedence for bootstrapping settings specific to that context, allowing for flexible configuration across different streaming setups.

Config Example

server {
    listen 80;
    server_name example.com;
    location /vod {
        vod_bootstrap_segment_durations 8;
        # Additional configuration options...
    }
}

Ensure that the value is set in seconds, as other units are not accepted.

Setting too short a duration may lead to insufficient data for player initialization, while too long may delay startup times.

← Back to all directives