@bitmovin/api-sdk 1.176.0 → 1.177.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 +3 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/LiveHlsManifest.d.ts +1 -1
- package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
- package/dist/models/PrewarmedEncoderPool.js +1 -0
- package/dist/models/StreamsVideoResponse.d.ts +6 -0
- package/dist/models/StreamsVideoResponse.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.177.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -11,7 +11,7 @@ export declare class LiveHlsManifest {
|
|
|
11
11
|
*/
|
|
12
12
|
manifestId?: string;
|
|
13
13
|
/**
|
|
14
|
-
* Timeshift in seconds
|
|
14
|
+
* Timeshift in seconds. We recommend to use a timeshift value not greater than 3 hours (10800.0 seconds). Longer values could negatively impact the manifest update frequency.
|
|
15
15
|
* @type {number}
|
|
16
16
|
* @memberof LiveHlsManifest
|
|
17
17
|
*/
|
|
@@ -37,6 +37,12 @@ export declare class PrewarmedEncoderPool extends BitmovinResource {
|
|
|
37
37
|
* @memberof PrewarmedEncoderPool
|
|
38
38
|
*/
|
|
39
39
|
targetPoolSize?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Activate dynamic pool behaviour. Pool will increase/decrease based on usage. Minimum pool size is set by targetPoolSize.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PrewarmedEncoderPool
|
|
44
|
+
*/
|
|
45
|
+
dynamicPool?: boolean;
|
|
40
46
|
/**
|
|
41
47
|
* Create pool with GPU instances for hardware encoding presets (e.g., VOD_HARDWARE_SHORTFORM).
|
|
42
48
|
* @type {boolean}
|
|
@@ -34,6 +34,7 @@ var PrewarmedEncoderPool = /** @class */ (function (_super) {
|
|
|
34
34
|
_this.infrastructureId = (0, Mapper_1.map)(obj.infrastructureId);
|
|
35
35
|
_this.diskSize = (0, Mapper_1.map)(obj.diskSize);
|
|
36
36
|
_this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
|
|
37
|
+
_this.dynamicPool = (0, Mapper_1.map)(obj.dynamicPool);
|
|
37
38
|
_this.gpuEnabled = (0, Mapper_1.map)(obj.gpuEnabled);
|
|
38
39
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
39
40
|
return _this;
|
|
@@ -78,6 +78,12 @@ export declare class StreamsVideoResponse {
|
|
|
78
78
|
* @memberof StreamsVideoResponse
|
|
79
79
|
*/
|
|
80
80
|
trimming?: StreamsTrimmingStatus;
|
|
81
|
+
/**
|
|
82
|
+
* Single-file download URL of the unaltered video in the best available quality
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof StreamsVideoResponse
|
|
85
|
+
*/
|
|
86
|
+
downloadUrl?: string;
|
|
81
87
|
constructor(obj?: Partial<StreamsVideoResponse>);
|
|
82
88
|
}
|
|
83
89
|
export default StreamsVideoResponse;
|
|
@@ -27,6 +27,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
27
27
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
28
28
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
29
29
|
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
30
|
+
this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
30
31
|
}
|
|
31
32
|
return StreamsVideoResponse;
|
|
32
33
|
}());
|