bitmovin_api_sdk.encoding.encodings.live.reset_live_manifest_timeshift package

Submodules

bitmovin_api_sdk.encoding.encodings.live.reset_live_manifest_timeshift.reset_live_manifest_timeshift_api module

class bitmovin_api_sdk.encoding.encodings.live.reset_live_manifest_timeshift.reset_live_manifest_timeshift_api.ResetLiveManifestTimeshiftApi(**kwargs)[source]

Bases: BaseApi

create(encoding_id, reset_live_manifest_time_shift, **kwargs)[source]

Reset Live manifest time-shift

Parameters:
  • encoding_id (string_types, required) – Id of the encoding.

  • reset_live_manifest_time_shift (ResetLiveManifestTimeShift, required) – 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.

Returns:

Reset Live manifest time-shift request

Return type:

ResetLiveManifestTimeShift

Module contents