@bitmovin/api-sdk 1.205.0 → 1.206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +2 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/ResetLiveManifestTimeShift.d.ts +6 -0
- package/dist/models/ResetLiveManifestTimeShift.js +1 -0
- package/package.json +1 -1
|
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
240
240
|
var headers = {
|
|
241
241
|
'X-Api-Key': apiKey,
|
|
242
242
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
243
|
-
'X-Api-Client-Version': '1.
|
|
243
|
+
'X-Api-Client-Version': '1.206.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -10,6 +10,12 @@ export declare class ResetLiveManifestTimeShift extends BitmovinResponse {
|
|
|
10
10
|
* @memberof ResetLiveManifestTimeShift
|
|
11
11
|
*/
|
|
12
12
|
residualPeriodInSeconds?: number;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof ResetLiveManifestTimeShift
|
|
17
|
+
*/
|
|
18
|
+
offsetInSeconds?: number;
|
|
13
19
|
/**
|
|
14
20
|
* The ids of the manifests to update. If this property is not set, all manifests tied to the encoding are updated.
|
|
15
21
|
* @type {string[]}
|
|
@@ -30,6 +30,7 @@ var ResetLiveManifestTimeShift = /** @class */ (function (_super) {
|
|
|
30
30
|
return _this;
|
|
31
31
|
}
|
|
32
32
|
_this.residualPeriodInSeconds = (0, Mapper_1.map)(obj.residualPeriodInSeconds);
|
|
33
|
+
_this.offsetInSeconds = (0, Mapper_1.map)(obj.offsetInSeconds);
|
|
33
34
|
_this.manifestIds = (0, Mapper_1.mapArray)(obj.manifestIds);
|
|
34
35
|
_this.shiftProgressiveMuxingStartPosition = (0, Mapper_1.map)(obj.shiftProgressiveMuxingStartPosition);
|
|
35
36
|
return _this;
|