@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
34 lines (33 loc) • 2.01 kB
TypeScript
import BitmovinResponse from './BitmovinResponse';
/**
* @export
* @class ResetLiveManifestTimeShift
*/
export declare class ResetLiveManifestTimeShift extends BitmovinResponse {
/**
* 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.
* @type {number}
* @memberof ResetLiveManifestTimeShift
*/
residualPeriodInSeconds?: number;
/**
* 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.
* @type {number}
* @memberof ResetLiveManifestTimeShift
*/
offsetInSeconds?: number;
/**
* The ids of the manifests to update. If this property is not set, all manifests tied to the encoding are updated.
* @type {string[]}
* @memberof ResetLiveManifestTimeShift
*/
manifestIds?: string[];
/**
* 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.
* @type {boolean}
* @memberof ResetLiveManifestTimeShift
*/
shiftProgressiveMuxingStartPosition?: boolean;
constructor(obj?: Partial<ResetLiveManifestTimeShift>);
}
export default ResetLiveManifestTimeShift;