@bitmovin/api-sdk 1.205.0 → 1.207.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 +4 -7
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/Av1PerTitleConfiguration.d.ts +0 -6
- package/dist/models/Av1PerTitleConfiguration.js +0 -2
- package/dist/models/H264PerTitleConfiguration.d.ts +0 -6
- package/dist/models/H264PerTitleConfiguration.js +0 -1
- package/dist/models/H265PerTitleConfiguration.d.ts +0 -6
- package/dist/models/H265PerTitleConfiguration.js +0 -1
- package/dist/models/PerTitleConfiguration.d.ts +12 -0
- package/dist/models/PerTitleConfiguration.js +2 -0
- package/dist/models/ResetLiveManifestTimeShift.d.ts +6 -0
- package/dist/models/ResetLiveManifestTimeShift.js +1 -0
- package/dist/models/Vp9PerTitleConfiguration.d.ts +0 -6
- package/dist/models/Vp9PerTitleConfiguration.js +0 -2
- 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.207.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -4,12 +4,6 @@ import PerTitleConfiguration from './PerTitleConfiguration';
|
|
|
4
4
|
* @class Av1PerTitleConfiguration
|
|
5
5
|
*/
|
|
6
6
|
export declare class Av1PerTitleConfiguration extends PerTitleConfiguration {
|
|
7
|
-
/**
|
|
8
|
-
* Desired target quality of the highest representation expressed as CRF value
|
|
9
|
-
* @type {number}
|
|
10
|
-
* @memberof Av1PerTitleConfiguration
|
|
11
|
-
*/
|
|
12
|
-
targetQualityCrf?: number;
|
|
13
7
|
constructor(obj?: Partial<Av1PerTitleConfiguration>);
|
|
14
8
|
}
|
|
15
9
|
export default Av1PerTitleConfiguration;
|
|
@@ -16,7 +16,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.Av1PerTitleConfiguration = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
19
|
var PerTitleConfiguration_1 = require("./PerTitleConfiguration");
|
|
21
20
|
/**
|
|
22
21
|
* @export
|
|
@@ -29,7 +28,6 @@ var Av1PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
29
28
|
if (!obj) {
|
|
30
29
|
return _this;
|
|
31
30
|
}
|
|
32
|
-
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
33
31
|
return _this;
|
|
34
32
|
}
|
|
35
33
|
return Av1PerTitleConfiguration;
|
|
@@ -4,12 +4,6 @@ import PerTitleConfiguration from './PerTitleConfiguration';
|
|
|
4
4
|
* @class H264PerTitleConfiguration
|
|
5
5
|
*/
|
|
6
6
|
export declare class H264PerTitleConfiguration extends PerTitleConfiguration {
|
|
7
|
-
/**
|
|
8
|
-
* Desired target quality of the highest representation expressed as CRF value
|
|
9
|
-
* @type {number}
|
|
10
|
-
* @memberof H264PerTitleConfiguration
|
|
11
|
-
*/
|
|
12
|
-
targetQualityCrf?: number;
|
|
13
7
|
/**
|
|
14
8
|
* This factor is used to calculate the minBitrate of the codec configuration for the generated representations as a multiple of the targetBitrate
|
|
15
9
|
* @type {number}
|
|
@@ -29,7 +29,6 @@ var H264PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
29
29
|
if (!obj) {
|
|
30
30
|
return _this;
|
|
31
31
|
}
|
|
32
|
-
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
33
32
|
_this.codecMinBitrateFactor = (0, Mapper_1.map)(obj.codecMinBitrateFactor);
|
|
34
33
|
_this.codecMaxBitrateFactor = (0, Mapper_1.map)(obj.codecMaxBitrateFactor);
|
|
35
34
|
_this.codecBufsizeFactor = (0, Mapper_1.map)(obj.codecBufsizeFactor);
|
|
@@ -4,12 +4,6 @@ import PerTitleConfiguration from './PerTitleConfiguration';
|
|
|
4
4
|
* @class H265PerTitleConfiguration
|
|
5
5
|
*/
|
|
6
6
|
export declare class H265PerTitleConfiguration extends PerTitleConfiguration {
|
|
7
|
-
/**
|
|
8
|
-
* Desired target quality of the highest representation expressed as CRF value
|
|
9
|
-
* @type {number}
|
|
10
|
-
* @memberof H265PerTitleConfiguration
|
|
11
|
-
*/
|
|
12
|
-
targetQualityCrf?: number;
|
|
13
7
|
/**
|
|
14
8
|
* This factor is used to calculate the minBitrate of the codec configuration for the generated representations as a multiple of the targetBitrate
|
|
15
9
|
* @type {number}
|
|
@@ -29,7 +29,6 @@ var H265PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
29
29
|
if (!obj) {
|
|
30
30
|
return _this;
|
|
31
31
|
}
|
|
32
|
-
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
33
32
|
_this.codecMinBitrateFactor = (0, Mapper_1.map)(obj.codecMinBitrateFactor);
|
|
34
33
|
_this.codecMaxBitrateFactor = (0, Mapper_1.map)(obj.codecMaxBitrateFactor);
|
|
35
34
|
_this.codecBufsizeFactor = (0, Mapper_1.map)(obj.codecBufsizeFactor);
|
|
@@ -46,6 +46,18 @@ export declare class PerTitleConfiguration {
|
|
|
46
46
|
* @memberof PerTitleConfiguration
|
|
47
47
|
*/
|
|
48
48
|
fixedResolutionAndBitrateConfiguration?: PerTitleFixedResolutionAndBitrateConfiguration;
|
|
49
|
+
/**
|
|
50
|
+
* Desired target quality of the highest representation expressed as CRF value
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PerTitleConfiguration
|
|
53
|
+
*/
|
|
54
|
+
targetQualityCrf?: number;
|
|
55
|
+
/**
|
|
56
|
+
* This factor influences the resolution selection of the per-title algorithm. The default value is 0.0. negative values will lead to results where the algorithm will choose lower resolutions for given bitrates. A positive value will result in higher resolutions to be selected. The range of the factor is -5.0 to +5.0. Please note that changing this factor might also lead to slightly different bitrate selection by the algorithm.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof PerTitleConfiguration
|
|
59
|
+
*/
|
|
60
|
+
resolutionScaleFactor?: number;
|
|
49
61
|
constructor(obj?: Partial<PerTitleConfiguration>);
|
|
50
62
|
}
|
|
51
63
|
export default PerTitleConfiguration;
|
|
@@ -20,6 +20,8 @@ var PerTitleConfiguration = /** @class */ (function () {
|
|
|
20
20
|
this.autoRepresentations = (0, Mapper_1.map)(obj.autoRepresentations, AutoRepresentation_1.default);
|
|
21
21
|
this.complexityFactor = (0, Mapper_1.map)(obj.complexityFactor);
|
|
22
22
|
this.fixedResolutionAndBitrateConfiguration = (0, Mapper_1.map)(obj.fixedResolutionAndBitrateConfiguration, PerTitleFixedResolutionAndBitrateConfiguration_1.default);
|
|
23
|
+
this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
24
|
+
this.resolutionScaleFactor = (0, Mapper_1.map)(obj.resolutionScaleFactor);
|
|
23
25
|
}
|
|
24
26
|
return PerTitleConfiguration;
|
|
25
27
|
}());
|
|
@@ -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;
|
|
@@ -4,12 +4,6 @@ import PerTitleConfiguration from './PerTitleConfiguration';
|
|
|
4
4
|
* @class Vp9PerTitleConfiguration
|
|
5
5
|
*/
|
|
6
6
|
export declare class Vp9PerTitleConfiguration extends PerTitleConfiguration {
|
|
7
|
-
/**
|
|
8
|
-
* Desired target quality of the highest representation expressed as CRF value
|
|
9
|
-
* @type {number}
|
|
10
|
-
* @memberof Vp9PerTitleConfiguration
|
|
11
|
-
*/
|
|
12
|
-
targetQualityCrf?: number;
|
|
13
7
|
constructor(obj?: Partial<Vp9PerTitleConfiguration>);
|
|
14
8
|
}
|
|
15
9
|
export default Vp9PerTitleConfiguration;
|
|
@@ -16,7 +16,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.Vp9PerTitleConfiguration = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
19
|
var PerTitleConfiguration_1 = require("./PerTitleConfiguration");
|
|
21
20
|
/**
|
|
22
21
|
* @export
|
|
@@ -29,7 +28,6 @@ var Vp9PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
29
28
|
if (!obj) {
|
|
30
29
|
return _this;
|
|
31
30
|
}
|
|
32
|
-
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
33
31
|
return _this;
|
|
34
32
|
}
|
|
35
33
|
return Vp9PerTitleConfiguration;
|