Reset Live manifest time-shift

Path Params
string
required

Id of the encoding.

Body Params

Removes older segments from live manifests. This resets or reduces the time-shift (DVR) window. The residualPeriod value determines how many seconds will remain in the time-shift window. The original time-shift window does not change. Newer segments will be added and not removed from the manifest until the original time-shift duration is reached again. Currently, only HLS live manifests are supported.

double
Defaults to 0

Determines how many seconds will be left in the manifest after segments are removed.
If this is not set, all but one segment will be removed.

double

Offset in seconds from the start of the live event, defining the point from which all segments within that duration will be removed from the given manifests.
E.g.: The segment length is 2 seconds and a timeshift of 120 seconds (2 minutes) is configured.
The manifest contains 60 segments with the last segment number being 80 (segment_80.ts).
This means the manifest contains segment_20.ts to segment_80.ts (timeshift of 2 minutes equals 60 segments in manifest)
If you set offsetInSeconds to 120, all segments below segment number 60 (segment_60.ts) will be removed. (targetSegmentNumber = offsetInSeconds / segmentLength)
The manifests will then contain segment_60.ts to segment_80.ts
Note: Only offsetInSeconds or residualPeriodInSeconds can be set.

manifestIds
array of strings

The ids of the manifests to update. If this property is not set, all manifests tied to the encoding are updated.

manifestIds
boolean
Defaults to true

If set to true, the Progressive muxing start position will be shifted to the start of the first remaining segment after the removal. NOTE: This only works for Progressive MP4 muxings.

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json