LiveManifestConfig

Updated at:

Parameter

Type

Description

Example

object

The live streaming playlist configuration.

SegmentCount

integer

The number of segments. Applicable to the HLS and HLS_CMAF protocols. By default, the configuration of the channel is used. Valid values: 2 to 100.

3

DateTimeInterval

integer

The interval at which the EXT-X-PROGRAM-DATE-TIME time tag is inserted, in seconds. By default, no tag is inserted. Valid values: 1 to 3600. Applicable to the HLS and HLS_CMAF protocols.

5

MinUpdatePeriod

integer

The minimum update interval, in seconds. Valid values: 1 to 3600. Default value: the duration of two segments. Applicable to DASH. Note: Set this parameter to a value less than the minimum buffer time. A large value may cause stuttering during DASH playback.

8

AdMarkers

string

The ad markers supported in the playlist. Valid values:

  • NONE: removes ad markers.

  • DATE_RANGE: uses the EXT-X-DATERANGE marker in the HLS specification. Available when the endpoint protocol is HLS or HLS_CMAF.

  • XML: uses XML ad markers in the DASH specification. Available when the endpoint protocol is DASH.

NONE

StreamOrder

string

The stream sorting rule. Valid values:

  • ORIGINAL: keeps the sorting of the input sub-playlists.

  • VIDEO_BITRATE_ASCENDING: sorts video streams in ascending order of bitrate.

  • VIDEO_BITRATE_DESCENDING: sorts video streams in descending order of bitrate.

ORIGINAL

MinVideoBitrate

integer

The minimum input bitrate threshold, in bit/s. The video track must have a bitrate greater than or equal to this threshold to be played from this endpoint. Valid values: integers greater than 0. Default value: empty, which indicates that no minimum bitrate is set.

1000000

MaxVideoBitrate

integer

The maximum input bitrate threshold, in bit/s. The video track must have a bitrate less than or equal to this threshold to be played from this endpoint. Valid values: integers greater than 0. Default value: empty, which indicates that no maximum bitrate is set.

8000000

MinBufferTime

integer

The minimum buffer time, in seconds. Valid values: 1 to 30. Default value: the duration of two segments. Applicable only to DASH. Note: A small minimum buffer time may cause stuttering during playback. Set this value to no less than the duration of two segments.

8

PresentationDelay

integer

The recommended playback start delay, in seconds. Valid values: 1 to 60. Default value: the duration of three segments.

12

ManifestDuration

integer

The maximum time-shift duration during live streaming, in seconds. Valid values: 1 to 3600. Default value: 60. Applicable to DASH.

60

SegmentTemplateFormat

string

The segment template. Currently, only NUMBER_TIMELINE is supported. Default value: NUMBER_TIMELINE. Applicable to DASH.

NUMBER_TIMELINE

PartHoldBackMs

integer

The part segment cache duration, in milliseconds. The minimum value is twice the PartDurationMs, and the maximum value is three times the SegmentDuration. Applicable only to LL_HLS_CMAF.

1100