@bitmovin/api-sdk 1.174.0 → 1.175.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 +29 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/Encoding.d.ts +6 -0
- package/dist/models/Encoding.js +1 -0
- package/dist/models/EncodingStatisticsVod.d.ts +1 -1
- package/dist/models/EncodingStatisticsVod.js +1 -1
- package/dist/models/StreamsEncodingProfile.d.ts +9 -0
- package/dist/models/StreamsEncodingProfile.js +13 -0
- package/dist/models/StreamsVideoCreateRequest.d.ts +7 -0
- package/dist/models/StreamsVideoCreateRequest.js +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.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.175.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -98,6 +98,12 @@ export declare class Encoding extends BitmovinResource {
|
|
|
98
98
|
* @memberof Encoding
|
|
99
99
|
*/
|
|
100
100
|
selectedCloudRegion?: CloudRegion;
|
|
101
|
+
/**
|
|
102
|
+
* After the encoding has been started, this will contain the fallback cloud regions that were actually used. This will differ from fallbackCloudRegions if any of the fallbackCloudRegions were set to an unspecific region (e.g. 'AUTO')
|
|
103
|
+
* @type {CloudRegion[]}
|
|
104
|
+
* @memberof Encoding
|
|
105
|
+
*/
|
|
106
|
+
selectedFallbackCloudRegions?: CloudRegion[];
|
|
101
107
|
/**
|
|
102
108
|
* The current status of the encoding.
|
|
103
109
|
* @type {Status}
|
package/dist/models/Encoding.js
CHANGED
|
@@ -45,6 +45,7 @@ var Encoding = /** @class */ (function (_super) {
|
|
|
45
45
|
_this.selectedEncoderVersion = (0, Mapper_1.map)(obj.selectedEncoderVersion);
|
|
46
46
|
_this.selectedEncodingMode = (0, Mapper_1.map)(obj.selectedEncodingMode);
|
|
47
47
|
_this.selectedCloudRegion = (0, Mapper_1.map)(obj.selectedCloudRegion);
|
|
48
|
+
_this.selectedFallbackCloudRegions = (0, Mapper_1.mapArray)(obj.selectedFallbackCloudRegions);
|
|
48
49
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
49
50
|
_this.labels = (0, Mapper_1.mapArray)(obj.labels);
|
|
50
51
|
_this.liveOptionsType = (0, Mapper_1.map)(obj.liveOptionsType);
|
|
@@ -15,7 +15,7 @@ export declare class EncodingStatisticsVod extends EncodingStatistics {
|
|
|
15
15
|
* @type {number}
|
|
16
16
|
* @memberof EncodingStatisticsVod
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
realtimeFactor?: number;
|
|
19
19
|
constructor(obj?: Partial<EncodingStatisticsVod>);
|
|
20
20
|
}
|
|
21
21
|
export default EncodingStatisticsVod;
|
|
@@ -30,7 +30,7 @@ var EncodingStatisticsVod = /** @class */ (function (_super) {
|
|
|
30
30
|
return _this;
|
|
31
31
|
}
|
|
32
32
|
_this.timeEnqueued = (0, Mapper_1.map)(obj.timeEnqueued);
|
|
33
|
-
_this.
|
|
33
|
+
_this.realtimeFactor = (0, Mapper_1.map)(obj.realtimeFactor);
|
|
34
34
|
return _this;
|
|
35
35
|
}
|
|
36
36
|
return EncodingStatisticsVod;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamsEncodingProfile = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var StreamsEncodingProfile;
|
|
9
|
+
(function (StreamsEncodingProfile) {
|
|
10
|
+
StreamsEncodingProfile["PER_TITLE"] = "PER_TITLE";
|
|
11
|
+
StreamsEncodingProfile["FIXED_RESOLUTIONS"] = "FIXED_RESOLUTIONS";
|
|
12
|
+
})(StreamsEncodingProfile = exports.StreamsEncodingProfile || (exports.StreamsEncodingProfile = {}));
|
|
13
|
+
exports.default = StreamsEncodingProfile;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import StreamsEncodingProfile from './StreamsEncodingProfile';
|
|
1
2
|
/**
|
|
2
3
|
* @export
|
|
3
4
|
* @class StreamsVideoCreateRequest
|
|
@@ -33,6 +34,12 @@ export declare class StreamsVideoCreateRequest {
|
|
|
33
34
|
* @memberof StreamsVideoCreateRequest
|
|
34
35
|
*/
|
|
35
36
|
adConfigId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Profile to be used in encoding
|
|
39
|
+
* @type {StreamsEncodingProfile}
|
|
40
|
+
* @memberof StreamsVideoCreateRequest
|
|
41
|
+
*/
|
|
42
|
+
encodingProfile?: StreamsEncodingProfile;
|
|
36
43
|
constructor(obj?: Partial<StreamsVideoCreateRequest>);
|
|
37
44
|
}
|
|
38
45
|
export default StreamsVideoCreateRequest;
|
|
@@ -16,6 +16,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
|
|
|
16
16
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
17
17
|
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
18
18
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
19
|
+
this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
|
|
19
20
|
}
|
|
20
21
|
return StreamsVideoCreateRequest;
|
|
21
22
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -708,6 +708,7 @@ export * from './StreamSelectionMode';
|
|
|
708
708
|
export * from './StreamsAdConfigAd';
|
|
709
709
|
export * from './StreamsAdConfigResponse';
|
|
710
710
|
export * from './StreamsContentProtectionResponse';
|
|
711
|
+
export * from './StreamsEncodingProfile';
|
|
711
712
|
export * from './StreamsLiveCreateRequest';
|
|
712
713
|
export * from './StreamsLiveLifeCycle';
|
|
713
714
|
export * from './StreamsLiveResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -724,6 +724,7 @@ __exportStar(require("./StreamSelectionMode"), exports);
|
|
|
724
724
|
__exportStar(require("./StreamsAdConfigAd"), exports);
|
|
725
725
|
__exportStar(require("./StreamsAdConfigResponse"), exports);
|
|
726
726
|
__exportStar(require("./StreamsContentProtectionResponse"), exports);
|
|
727
|
+
__exportStar(require("./StreamsEncodingProfile"), exports);
|
|
727
728
|
__exportStar(require("./StreamsLiveCreateRequest"), exports);
|
|
728
729
|
__exportStar(require("./StreamsLiveLifeCycle"), exports);
|
|
729
730
|
__exportStar(require("./StreamsLiveResponse"), exports);
|