LiveManifestConfig

更新时间:
复制 MD 格式

Parameter

Type

Description

Example

object

The live manifest configuration.

SegmentCount

integer

The number of segments. This parameter applies to the HLS/HLS_CMAF protocol. By default, the channel configuration is used. Valid values: 2 to 100.

3

DateTimeInterval

integer

The interval (in seconds) for inserting the EXT-X-PROGRAM-DATE-TIME time tag. By default, the tag is not inserted. Valid values: 1 to 3600. This parameter applies to the HLS/HLS_CMAF protocol.

5

MinUpdatePeriod

integer

The minimum update interval. Unit: seconds. Valid values: 1 to 3600. Default value: 2 segment durations. This parameter applies to DASH.

Note

Set this parameter to a value less than the minimum buffer time. An excessively large value may cause DASH playback stuttering.

8

AdMarkers

string

The ad markers supported in the playlist. Valid values:

  • NONE: removes ad markers.

  • DATE_RANGE: uses the EXT-X-DATERANGE tag defined in the HLS specification. This value is available when the endpoint protocol is HLS/HLS_CMAF.

  • XML: uses the XML ad markers defined in the DASH specification. This value is available when the endpoint protocol is DASH.

NONE

StreamOrder

string

The stream sorting rule. Valid values:

  • ORIGINAL: retains the original order of the input sub-manifest.

  • VIDEO_BITRATE_ASCENDING: sorts by video stream bitrate in ascending order.

  • VIDEO_BITRATE_DESCENDING: sorts by video stream bitrate in descending order.

ORIGINAL

MinVideoBitrate

integer

The minimum input bitrate threshold (unit: bit/s). A 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. By default, this parameter is empty and no minimum bitrate is set.

1000000

MaxVideoBitrate

integer

The maximum input bitrate threshold (unit: bit/s). A 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. By default, this parameter is empty and no maximum bitrate limit is set.

8000000

MinBufferTime

integer

The minimum buffer time. Unit: seconds. Valid values: 1 to 30. Default value: 2 segment durations. This parameter applies only to DASH.

Note

An excessively small minimum buffer time may cause playback stuttering. Set this parameter to a value no less than 2 segment durations.

8

PresentationDelay

integer

The suggested presentation delay. Unit: seconds. Valid values: 1 to 60. Default value: 3 segment durations.

12

ManifestDuration

integer

The maximum time-shift duration during live streaming. Unit: seconds. Valid values: 1 to 3600. Default value: 60. This parameter applies to DASH.

60

SegmentTemplateFormat

string

The segment template. Currently, only NUMBER_TIMELINE (default) is supported. This parameter applies to DASH.

NUMBER_TIMELINE

PartHoldBackMs

integer