Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

Fragments are identified in the manifest file based on their sequence number in the session. If DisplayFragmentNumber is set to ALWAYS, the Kinesis Video Streams fragment number is added to each S element in the manifest file with the attribute name “kvs:fn”. These fragment numbers can be used for logging or for use with other APIs (e.g. GetMedia and GetMediaForFragmentList). A custom MPEG-DASH media player is necessary to leverage these this custom attribute.

Link copied to clipboard

Per the MPEG-DASH specification, the wall-clock time of fragments in the manifest file can be derived using attributes in the manifest itself. However, typically, MPEG-DASH compatible media players do not properly handle gaps in the media timeline. Kinesis Video Streams adjusts the media timeline in the manifest file to enable playback of media with discontinuities. Therefore, the wall-clock time derived from the manifest file may be inaccurate. If DisplayFragmentTimestamp is set to ALWAYS, the accurate fragment timestamp is added to each S element in the manifest file with the attribute name “kvs:ts”. A custom MPEG-DASH media player is necessary to leverage this custom attribute.

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 maximum number of fragments that are returned in the MPEG-DASH manifest.

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 MPEG-DASH manifest URL.

Link copied to clipboard

The name of the stream for which to retrieve the MPEG-DASH manifest URL.