Builder

class Builder

Properties

Link copied to clipboard

Specifies which format should be used for packaging the media. Specifying the FRAGMENTED_MP4 container format packages the media into MP4 fragments (fMP4 or CMAF). This is the recommended packaging because there is minimal packaging overhead. The other container format option is MPEG_TS. HLS has supported MPEG TS chunks since it was released and is sometimes the only supported packaging on older HLS players. MPEG TS typically has a 5-25 percent packaging overhead. This means MPEG TS typically requires 5-25 percent more bandwidth and cost than fMP4.

Link copied to clipboard

Specifies when flags marking discontinuities between fragments are added to the media playlists.

Link copied to clipboard

Specifies when the fragment start timestamps should be included in the HLS media playlist. Typically, media players report the playhead position as a time relative to the start of the first fragment in the playback session. However, when the start timestamps are included in the HLS media playlist, some media players might report the current playhead as an absolute time based on the fragment timestamps. This can be useful for creating a playback experience that shows viewers the wall-clock time of the media.

Link copied to clipboard
var expires: Int?

The time in seconds until the requested session expires. This value can be between 300 (5 minutes) and 43200 (12 hours).

Link copied to clipboard

The time range of the requested fragment and the source of the timestamps.

Link copied to clipboard

The maximum number of fragments that are returned in the HLS media playlists.

Link copied to clipboard

Whether to retrieve live, live replay, or archived, on-demand data.

Link copied to clipboard

The Amazon Resource Name (ARN) of the stream for which to retrieve the HLS master playlist URL.

Link copied to clipboard

The name of the stream for which to retrieve the HLS master playlist URL.