Reset Live manifest time-shift

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Id of the encoding.

Body Params

Removes older segments from live manifests, resetting or reducing the time-shift (DVR) window.
You can set residualPeriodInSeconds to specify how many seconds of content remain in the manifest after the reset, or offsetInSeconds to remove all segments before a position measured from the start of the live event. Do not set both parameters. If neither parameter is set, only the most recent segment remains.
For DASH manifests that use SegmentTemplate, the duration retained by residualPeriodInSeconds (or when neither parameter is set) also includes the configured liveEdgeOffset.
The configured time-shift window does not change. After the reset, new segments are added without removing older ones until the configured window duration is reached again.
This operation supports HLS live manifests and, with encoder version 2.235.0 or later, DASH live manifests. The live encoding must have the RUNNING status. The request is processed asynchronously.

double
Defaults to 0

Specifies how many seconds of content remain in the manifest after older segments are removed. At least one segment is always retained.
If neither residualPeriodInSeconds nor offsetInSeconds is set, all segments except the most recent are removed.
For DASH manifests that use SegmentTemplate, the retained duration also includes the value configured for liveEdgeOffset.

double

Specifies an offset, in seconds, from the start of the live event. All segments before this position are removed from the affected manifests.
For example, assume a segment length of 2 seconds and a configured timeshift of 120 seconds (2 minutes).
If the most recent segment is segment_80.ts, the manifest contains 60 segments, from segment_21.ts through segment_80.ts.
Setting offsetInSeconds to 120 sets the target segment number to 60 (targetSegmentNumber = offsetInSeconds / segmentLength). All segments before segment_60.ts are removed.
Each affected manifest then contains segment_60.ts through segment_80.ts.

Note: Do not set both offsetInSeconds and residualPeriodInSeconds.

manifestIds
array of strings

The IDs of the manifests to update. If omitted, all supported manifests associated with the encoding are updated. HLS live manifests are supported. DASH live manifests require encoder version 2.235.0 or later.

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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json