@bitmovin/api-sdk 1.218.0 → 1.219.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 +7 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/Av1PerTitleConfiguration.d.ts +6 -0
- package/dist/models/Av1PerTitleConfiguration.js +2 -0
- package/dist/models/H264PerTitleConfiguration.d.ts +6 -0
- package/dist/models/H264PerTitleConfiguration.js +1 -0
- package/dist/models/H265PerTitleConfiguration.d.ts +6 -0
- package/dist/models/H265PerTitleConfiguration.js +1 -0
- package/dist/models/PerTitleConfiguration.d.ts +1 -7
- package/dist/models/PerTitleConfiguration.js +0 -1
- package/dist/models/Vp9PerTitleConfiguration.d.ts +6 -0
- package/dist/models/Vp9PerTitleConfiguration.js +2 -0
- package/package.json +1 -1
|
@@ -237,7 +237,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
237
237
|
var headers = {
|
|
238
238
|
'X-Api-Key': apiKey,
|
|
239
239
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
240
|
-
'X-Api-Client-Version': '1.
|
|
240
|
+
'X-Api-Client-Version': '1.219.0',
|
|
241
241
|
'Content-Type': 'application/json'
|
|
242
242
|
};
|
|
243
243
|
if (tenantOrgId) {
|
|
@@ -4,6 +4,12 @@ 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;
|
|
7
13
|
constructor(obj?: Partial<Av1PerTitleConfiguration>);
|
|
8
14
|
}
|
|
9
15
|
export default Av1PerTitleConfiguration;
|
|
@@ -16,6 +16,7 @@ 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");
|
|
19
20
|
var PerTitleConfiguration_1 = require("./PerTitleConfiguration");
|
|
20
21
|
/**
|
|
21
22
|
* @export
|
|
@@ -28,6 +29,7 @@ var Av1PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
28
29
|
if (!obj) {
|
|
29
30
|
return _this;
|
|
30
31
|
}
|
|
32
|
+
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
31
33
|
return _this;
|
|
32
34
|
}
|
|
33
35
|
return Av1PerTitleConfiguration;
|
|
@@ -22,6 +22,12 @@ export declare class H264PerTitleConfiguration extends PerTitleConfiguration {
|
|
|
22
22
|
* @memberof H264PerTitleConfiguration
|
|
23
23
|
*/
|
|
24
24
|
codecBufsizeFactor?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Desired target quality of the highest representation expressed as CRF value
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof H264PerTitleConfiguration
|
|
29
|
+
*/
|
|
30
|
+
targetQualityCrf?: number;
|
|
25
31
|
constructor(obj?: Partial<H264PerTitleConfiguration>);
|
|
26
32
|
}
|
|
27
33
|
export default H264PerTitleConfiguration;
|
|
@@ -32,6 +32,7 @@ var H264PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
32
32
|
_this.codecMinBitrateFactor = (0, Mapper_1.map)(obj.codecMinBitrateFactor);
|
|
33
33
|
_this.codecMaxBitrateFactor = (0, Mapper_1.map)(obj.codecMaxBitrateFactor);
|
|
34
34
|
_this.codecBufsizeFactor = (0, Mapper_1.map)(obj.codecBufsizeFactor);
|
|
35
|
+
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
35
36
|
return _this;
|
|
36
37
|
}
|
|
37
38
|
return H264PerTitleConfiguration;
|
|
@@ -22,6 +22,12 @@ export declare class H265PerTitleConfiguration extends PerTitleConfiguration {
|
|
|
22
22
|
* @memberof H265PerTitleConfiguration
|
|
23
23
|
*/
|
|
24
24
|
codecBufsizeFactor?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Desired target quality of the highest representation expressed as CRF value
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof H265PerTitleConfiguration
|
|
29
|
+
*/
|
|
30
|
+
targetQualityCrf?: number;
|
|
25
31
|
constructor(obj?: Partial<H265PerTitleConfiguration>);
|
|
26
32
|
}
|
|
27
33
|
export default H265PerTitleConfiguration;
|
|
@@ -32,6 +32,7 @@ var H265PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
32
32
|
_this.codecMinBitrateFactor = (0, Mapper_1.map)(obj.codecMinBitrateFactor);
|
|
33
33
|
_this.codecMaxBitrateFactor = (0, Mapper_1.map)(obj.codecMaxBitrateFactor);
|
|
34
34
|
_this.codecBufsizeFactor = (0, Mapper_1.map)(obj.codecBufsizeFactor);
|
|
35
|
+
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
35
36
|
return _this;
|
|
36
37
|
}
|
|
37
38
|
return H265PerTitleConfiguration;
|
|
@@ -24,7 +24,7 @@ export declare class PerTitleConfiguration {
|
|
|
24
24
|
*/
|
|
25
25
|
minBitrateStepSize?: number;
|
|
26
26
|
/**
|
|
27
|
-
* The maximum ratio between the bitrates of neighbouring renditions, e.g., if the first bitrate is 240,000, a maximum ratio of 1.
|
|
27
|
+
* The maximum ratio between the bitrates of neighbouring renditions, e.g., if the first bitrate is 240,000, a maximum ratio of 1.9 will require the next higher bitrate to be at most 456,000
|
|
28
28
|
* @type {number}
|
|
29
29
|
* @memberof PerTitleConfiguration
|
|
30
30
|
*/
|
|
@@ -46,12 +46,6 @@ 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
49
|
/**
|
|
56
50
|
* 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
51
|
* @type {number}
|
|
@@ -20,7 +20,6 @@ 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
23
|
this.resolutionScaleFactor = (0, Mapper_1.map)(obj.resolutionScaleFactor);
|
|
25
24
|
}
|
|
26
25
|
return PerTitleConfiguration;
|
|
@@ -4,6 +4,12 @@ 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;
|
|
7
13
|
constructor(obj?: Partial<Vp9PerTitleConfiguration>);
|
|
8
14
|
}
|
|
9
15
|
export default Vp9PerTitleConfiguration;
|
|
@@ -16,6 +16,7 @@ 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");
|
|
19
20
|
var PerTitleConfiguration_1 = require("./PerTitleConfiguration");
|
|
20
21
|
/**
|
|
21
22
|
* @export
|
|
@@ -28,6 +29,7 @@ var Vp9PerTitleConfiguration = /** @class */ (function (_super) {
|
|
|
28
29
|
if (!obj) {
|
|
29
30
|
return _this;
|
|
30
31
|
}
|
|
32
|
+
_this.targetQualityCrf = (0, Mapper_1.map)(obj.targetQualityCrf);
|
|
31
33
|
return _this;
|
|
32
34
|
}
|
|
33
35
|
return Vp9PerTitleConfiguration;
|