@bitmovin/api-sdk 1.165.0 → 1.167.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 +149 -116
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/configurations/audio/ac3/Ac3Api.d.ts +4 -4
- package/dist/encoding/configurations/audio/ac3/Ac3Api.js +4 -4
- package/dist/encoding/configurations/audio/eac3/Eac3Api.d.ts +4 -4
- package/dist/encoding/configurations/audio/eac3/Eac3Api.js +4 -4
- package/dist/encoding/encodings/EncodingListQueryParams.d.ts +4 -4
- package/dist/encoding/encodings/EncodingListQueryParams.js +2 -2
- package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.d.ts +2 -2
- package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.js +2 -2
- package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.d.ts +1 -1
- package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.js +1 -1
- package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.d.ts +1 -1
- package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.js +1 -1
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.d.ts +1 -1
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.js +1 -1
- package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.d.ts +1 -1
- package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.js +1 -1
- package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +1 -1
- package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +1 -1
- package/dist/encoding/filters/conform/ConformApi.d.ts +1 -1
- package/dist/encoding/filters/conform/ConformApi.js +1 -1
- package/dist/encoding/manifests/dash/DashApi.d.ts +1 -1
- package/dist/encoding/manifests/dash/DashApi.js +1 -1
- package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +1 -1
- package/dist/encoding/manifests/dash/default/DefaultApi.js +1 -1
- package/dist/encoding/manifests/hls/HlsApi.d.ts +1 -1
- package/dist/encoding/manifests/hls/HlsApi.js +1 -1
- package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +1 -1
- package/dist/encoding/manifests/hls/default/DefaultApi.js +1 -1
- package/dist/encoding/manifests/smooth/SmoothApi.d.ts +1 -1
- package/dist/encoding/manifests/smooth/SmoothApi.js +1 -1
- package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +1 -1
- package/dist/encoding/manifests/smooth/default/DefaultApi.js +1 -1
- package/dist/encoding/simple/jobs/live/LiveApi.d.ts +1 -1
- package/dist/encoding/simple/jobs/live/LiveApi.js +1 -1
- package/dist/encoding/simple/jobs/vod/VodApi.d.ts +1 -1
- package/dist/encoding/simple/jobs/vod/VodApi.js +1 -1
- package/dist/models/AnalyticsLicense.d.ts +7 -1
- package/dist/models/AnalyticsLicense.js +1 -0
- package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
- package/dist/models/AnalyticsVirtualLicense.js +1 -0
- package/dist/models/Encoding.d.ts +8 -1
- package/dist/models/Encoding.js +1 -0
- package/dist/models/LiveOptionsType.d.ts +8 -0
- package/dist/models/LiveOptionsType.js +12 -0
- package/dist/models/Mp4Muxing.d.ts +1 -1
- package/dist/models/PresetConfiguration.d.ts +2 -1
- package/dist/models/PresetConfiguration.js +1 -0
- package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
- package/dist/models/PrewarmedEncoderPool.js +1 -0
- package/dist/models/SpekeDrmProvider.d.ts +6 -0
- package/dist/models/SpekeDrmProvider.js +1 -0
- package/dist/models/StartEncodingRequest.d.ts +1 -1
- package/dist/models/StartLiveEncodingRequest.d.ts +1 -1
- package/dist/models/Stream.d.ts +1 -1
- package/dist/models/StreamsContentProtectionResponse.d.ts +6 -0
- package/dist/models/StreamsContentProtectionResponse.js +1 -0
- package/dist/models/StreamsLiveCreateRequest.d.ts +2 -2
- package/dist/models/StreamsLiveCreateRequest.js +1 -1
- package/dist/models/StreamsLiveResponse.d.ts +3 -3
- package/dist/models/StreamsLiveResponse.js +2 -2
- package/dist/models/StreamsLiveUpdateRequest.d.ts +8 -2
- package/dist/models/StreamsLiveUpdateRequest.js +2 -1
- package/dist/models/{StreamsConfigPlayerStyle.d.ts → StreamsStyleConfigPlayerStyle.d.ts} +11 -11
- package/dist/models/{StreamsConfigPlayerStyle.js → StreamsStyleConfigPlayerStyle.js} +7 -7
- package/dist/models/StreamsStyleConfigResponse.d.ts +38 -0
- package/dist/models/{StreamsConfigResponse.js → StreamsStyleConfigResponse.js} +9 -9
- package/dist/models/StreamsVideoCreateRequest.d.ts +2 -2
- package/dist/models/StreamsVideoCreateRequest.js +1 -1
- package/dist/models/StreamsVideoResponse.d.ts +3 -3
- package/dist/models/StreamsVideoResponse.js +2 -2
- package/dist/models/StreamsVideoUpdateRequest.d.ts +8 -2
- package/dist/models/StreamsVideoUpdateRequest.js +2 -1
- package/dist/models/VideoConfiguration.d.ts +1 -1
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.js +1 -1
- package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.js +1 -1
- package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.js +1 -1
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
- package/dist/streams/live/LiveApi.d.ts +1 -1
- package/dist/streams/live/LiveApi.js +1 -1
- package/dist/streams/video/VideoApi.d.ts +1 -1
- package/dist/streams/video/VideoApi.js +1 -1
- package/package.json +1 -1
- package/dist/models/StreamsConfigResponse.d.ts +0 -38
package/dist/models/Encoding.js
CHANGED
|
@@ -47,6 +47,7 @@ var Encoding = /** @class */ (function (_super) {
|
|
|
47
47
|
_this.selectedCloudRegion = (0, Mapper_1.map)(obj.selectedCloudRegion);
|
|
48
48
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
49
49
|
_this.labels = (0, Mapper_1.mapArray)(obj.labels);
|
|
50
|
+
_this.liveOptionsType = (0, Mapper_1.map)(obj.liveOptionsType);
|
|
50
51
|
return _this;
|
|
51
52
|
}
|
|
52
53
|
return Encoding;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveOptionsType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var LiveOptionsType;
|
|
9
|
+
(function (LiveOptionsType) {
|
|
10
|
+
LiveOptionsType["HD"] = "HD";
|
|
11
|
+
})(LiveOptionsType = exports.LiveOptionsType || (exports.LiveOptionsType = {}));
|
|
12
|
+
exports.default = LiveOptionsType;
|
|
@@ -15,7 +15,7 @@ export declare class Mp4Muxing extends Muxing {
|
|
|
15
15
|
*/
|
|
16
16
|
readonly type: MuxingType;
|
|
17
17
|
/**
|
|
18
|
-
* Name of the output file
|
|
18
|
+
* Name of the output file (either `filename` or `name` is required, prefer `filename`)
|
|
19
19
|
* @type {string}
|
|
20
20
|
* @memberof Mp4Muxing
|
|
21
21
|
*/
|
|
@@ -18,6 +18,7 @@ export declare enum PresetConfiguration {
|
|
|
18
18
|
VOD_VERYHIGH_SPEED = "VOD_VERYHIGH_SPEED",
|
|
19
19
|
VOD_EXTRAHIGH_SPEED = "VOD_EXTRAHIGH_SPEED",
|
|
20
20
|
VOD_SUPERHIGH_SPEED = "VOD_SUPERHIGH_SPEED",
|
|
21
|
-
VOD_ULTRAHIGH_SPEED = "VOD_ULTRAHIGH_SPEED"
|
|
21
|
+
VOD_ULTRAHIGH_SPEED = "VOD_ULTRAHIGH_SPEED",
|
|
22
|
+
VOD_HARDWARE_SHORTFORM = "VOD_HARDWARE_SHORTFORM"
|
|
22
23
|
}
|
|
23
24
|
export default PresetConfiguration;
|
|
@@ -23,5 +23,6 @@ var PresetConfiguration;
|
|
|
23
23
|
PresetConfiguration["VOD_EXTRAHIGH_SPEED"] = "VOD_EXTRAHIGH_SPEED";
|
|
24
24
|
PresetConfiguration["VOD_SUPERHIGH_SPEED"] = "VOD_SUPERHIGH_SPEED";
|
|
25
25
|
PresetConfiguration["VOD_ULTRAHIGH_SPEED"] = "VOD_ULTRAHIGH_SPEED";
|
|
26
|
+
PresetConfiguration["VOD_HARDWARE_SHORTFORM"] = "VOD_HARDWARE_SHORTFORM";
|
|
26
27
|
})(PresetConfiguration = exports.PresetConfiguration || (exports.PresetConfiguration = {}));
|
|
27
28
|
exports.default = PresetConfiguration;
|
|
@@ -37,6 +37,12 @@ export declare class PrewarmedEncoderPool extends BitmovinResource {
|
|
|
37
37
|
* @memberof PrewarmedEncoderPool
|
|
38
38
|
*/
|
|
39
39
|
targetPoolSize?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Create pool with GPU instances for hardware encoding presets (e.g., VOD_HARDWARE_SHORTFORM).
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PrewarmedEncoderPool
|
|
44
|
+
*/
|
|
45
|
+
gpuEnabled?: boolean;
|
|
40
46
|
/**
|
|
41
47
|
* Current status of the pool.
|
|
42
48
|
* @type {PrewarmedEncoderPoolStatus}
|
|
@@ -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.gpuEnabled = (0, Mapper_1.map)(obj.gpuEnabled);
|
|
37
38
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
38
39
|
return _this;
|
|
39
40
|
}
|
|
@@ -22,6 +22,12 @@ export declare class SpekeDrmProvider {
|
|
|
22
22
|
* @memberof SpekeDrmProvider
|
|
23
23
|
*/
|
|
24
24
|
password?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Your API key for authentication via X-API-Key HTTP Header
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SpekeDrmProvider
|
|
29
|
+
*/
|
|
30
|
+
apiKey?: string;
|
|
25
31
|
/**
|
|
26
32
|
* AWS role that will be assumed for the key exchange in case the provider runs on AWS. During the key exchange the role will be assumed to be able to access the key provider. This role is to be created in the customer's account and must be granted access to the API Gateway of the SPEKE server. For Bitmovin to be able to assume this role, the following has to be added to the trust policy of the role: ``` { \"Effect\": \"Allow\", \"Principal\": { \"AWS\": \"arn:aws:iam::630681592166:user/bitmovinCustomerSpekeAccess\" }, \"Action\": \"sts:AssumeRole\", \"Condition\": { \"StringEquals\": { \"sts:ExternalId\": \"{{externalId}}\" } } } ``` It is recommended to also set the {{externalId}} due to security reasons but it can also be ommitted. Additionally the role needs a policy similar to the following to be able to invoke the API gateway: ``` { \"Version\": \"2012-10-17\", \"Statement\": [ { \"Effect\": \"Allow\", \"Action\": [ \"execute-api:Invoke\" ], \"Resource\": [ \"arn:aws:execute-api:{{region}}:*:*_/_*_/POST/_*\" ] } ] } ``` where `{{region}}` is the region of the API gateway (for example `us-west-2`), the same has to be set in the property 'gatewayRegion'. It's also possible to set `{{region}` to `*` to give the role access to all regions.
|
|
27
33
|
* @type {string}
|
|
@@ -14,6 +14,7 @@ var SpekeDrmProvider = /** @class */ (function () {
|
|
|
14
14
|
this.url = (0, Mapper_1.map)(obj.url);
|
|
15
15
|
this.username = (0, Mapper_1.map)(obj.username);
|
|
16
16
|
this.password = (0, Mapper_1.map)(obj.password);
|
|
17
|
+
this.apiKey = (0, Mapper_1.map)(obj.apiKey);
|
|
17
18
|
this.roleArn = (0, Mapper_1.map)(obj.roleArn);
|
|
18
19
|
this.externalId = (0, Mapper_1.map)(obj.externalId);
|
|
19
20
|
this.externalIdMode = (0, Mapper_1.map)(obj.externalIdMode);
|
|
@@ -35,7 +35,7 @@ export declare class StartEncodingRequest {
|
|
|
35
35
|
*/
|
|
36
36
|
handleVariableInputFps?: boolean;
|
|
37
37
|
/**
|
|
38
|
-
* The pass mode of the encoding
|
|
38
|
+
* The pass mode of the encoding. Must only be set when `encodingMode` is not set on any codec configuration used by this encoding.
|
|
39
39
|
* @type {EncodingMode}
|
|
40
40
|
* @memberof StartEncodingRequest
|
|
41
41
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class StartLiveEncodingRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
dashManifests?: LiveDashManifest[];
|
|
31
31
|
/**
|
|
32
|
-
* The pass mode of the encoding
|
|
32
|
+
* The pass mode of the encoding. Must only be set when `encodingMode` is not set on any codec configuration used by this encoding.
|
|
33
33
|
* @type {EncodingMode}
|
|
34
34
|
* @memberof StartLiveEncodingRequest
|
|
35
35
|
*/
|
package/dist/models/Stream.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare class Stream extends BitmovinResource {
|
|
|
62
62
|
*/
|
|
63
63
|
mode?: StreamMode;
|
|
64
64
|
/**
|
|
65
|
-
* The encoding mode
|
|
65
|
+
* The encoding mode that was used for this stream. This is derived from `encodingMode`, which can be specified in the codec configuration or in the encoding start request. Note that all streams of an encoding need to use the same encoding mode. This will therefore always match `selectedEncodingMode` of the related Encoding resource. Especially useful when `encodingMode` was not set explicitly or set to STANDARD (which translates to one of the other possible values on encoding start).
|
|
66
66
|
* @type {EncodingMode}
|
|
67
67
|
* @memberof Stream
|
|
68
68
|
*/
|
|
@@ -21,6 +21,12 @@ export declare class StreamsContentProtectionResponse {
|
|
|
21
21
|
* @memberof StreamsContentProtectionResponse
|
|
22
22
|
*/
|
|
23
23
|
allowNoReferer?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Controls if Stream is accessible via sharing URL or not
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof StreamsContentProtectionResponse
|
|
28
|
+
*/
|
|
29
|
+
allowShare?: boolean;
|
|
24
30
|
constructor(obj?: Partial<StreamsContentProtectionResponse>);
|
|
25
31
|
}
|
|
26
32
|
export default StreamsContentProtectionResponse;
|
|
@@ -14,6 +14,7 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
|
|
|
14
14
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
15
15
|
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
|
|
16
16
|
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
|
|
17
|
+
this.allowShare = (0, Mapper_1.map)(obj.allowShare);
|
|
17
18
|
}
|
|
18
19
|
return StreamsContentProtectionResponse;
|
|
19
20
|
}());
|
|
@@ -16,11 +16,11 @@ export declare class StreamsLiveCreateRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
description?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Id of the
|
|
19
|
+
* Id of the style config to use
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StreamsLiveCreateRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
styleConfigId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Id of the advertisement config to use
|
|
26
26
|
* @type {string}
|
|
@@ -13,7 +13,7 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
|
|
|
13
13
|
}
|
|
14
14
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
15
15
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
16
|
-
this.
|
|
16
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
17
17
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
18
18
|
}
|
|
19
19
|
return StreamsLiveCreateRequest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
|
-
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
4
3
|
import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
|
|
4
|
+
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
5
5
|
/**
|
|
6
6
|
* @export
|
|
7
7
|
* @class StreamsLiveResponse
|
|
@@ -44,10 +44,10 @@ export declare class StreamsLiveResponse {
|
|
|
44
44
|
*/
|
|
45
45
|
lifeCycle?: StreamsLiveLifeCycle;
|
|
46
46
|
/**
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {StreamsStyleConfigResponse}
|
|
48
48
|
* @memberof StreamsLiveResponse
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
styleConfig?: StreamsStyleConfigResponse;
|
|
51
51
|
/**
|
|
52
52
|
* Poster URL
|
|
53
53
|
* @type {string}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StreamsLiveResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
|
-
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
6
|
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
|
+
var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
|
|
8
8
|
/**
|
|
9
9
|
* @export
|
|
10
10
|
* @class StreamsLiveResponse
|
|
@@ -20,7 +20,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
20
20
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
21
21
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
22
22
|
this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
|
|
23
|
-
this.
|
|
23
|
+
this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
24
24
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
25
25
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
26
26
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
@@ -16,11 +16,11 @@ export declare class StreamsLiveUpdateRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
description?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Id of the
|
|
19
|
+
* Id of the style config to use
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StreamsLiveUpdateRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
styleConfigId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* URL to hosted poster image
|
|
26
26
|
* @type {string}
|
|
@@ -33,6 +33,12 @@ export declare class StreamsLiveUpdateRequest {
|
|
|
33
33
|
* @memberof StreamsLiveUpdateRequest
|
|
34
34
|
*/
|
|
35
35
|
adConfigId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Id of the content protection config to use
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StreamsLiveUpdateRequest
|
|
40
|
+
*/
|
|
41
|
+
contentProtectionId?: string;
|
|
36
42
|
constructor(obj?: Partial<StreamsLiveUpdateRequest>);
|
|
37
43
|
}
|
|
38
44
|
export default StreamsLiveUpdateRequest;
|
|
@@ -13,9 +13,10 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
|
|
|
13
13
|
}
|
|
14
14
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
15
15
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
16
|
-
this.
|
|
16
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
17
17
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
18
18
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
19
|
+
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
19
20
|
}
|
|
20
21
|
return StreamsLiveUpdateRequest;
|
|
21
22
|
}());
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Player style config
|
|
3
3
|
* @export
|
|
4
|
-
* @class
|
|
4
|
+
* @class StreamsStyleConfigPlayerStyle
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class StreamsStyleConfigPlayerStyle {
|
|
7
7
|
/**
|
|
8
8
|
* Playback marker background color
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @memberof
|
|
10
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
11
11
|
*/
|
|
12
12
|
playbackMarkerBgColor?: string;
|
|
13
13
|
/**
|
|
14
14
|
* Playback marker border color
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @memberof
|
|
16
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
17
17
|
*/
|
|
18
18
|
playbackMarkerBorderColor?: string;
|
|
19
19
|
/**
|
|
20
20
|
* Playback track played color
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
23
23
|
*/
|
|
24
24
|
playbackTrackPlayedColor?: string;
|
|
25
25
|
/**
|
|
26
26
|
* Playback track buffered color
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
29
29
|
*/
|
|
30
30
|
playbackTrackBufferedColor?: string;
|
|
31
31
|
/**
|
|
32
32
|
* Playback track background color
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
35
35
|
*/
|
|
36
36
|
playbackTrackBgColor?: string;
|
|
37
37
|
/**
|
|
38
38
|
* Text color
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
41
41
|
*/
|
|
42
42
|
textColor?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Background color
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
47
47
|
*/
|
|
48
48
|
backgroundColor?: string;
|
|
49
|
-
constructor(obj?: Partial<
|
|
49
|
+
constructor(obj?: Partial<StreamsStyleConfigPlayerStyle>);
|
|
50
50
|
}
|
|
51
|
-
export default
|
|
51
|
+
export default StreamsStyleConfigPlayerStyle;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StreamsStyleConfigPlayerStyle = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
/**
|
|
6
6
|
* Player style config
|
|
7
7
|
* @export
|
|
8
|
-
* @class
|
|
8
|
+
* @class StreamsStyleConfigPlayerStyle
|
|
9
9
|
*/
|
|
10
|
-
var
|
|
11
|
-
function
|
|
10
|
+
var StreamsStyleConfigPlayerStyle = /** @class */ (function () {
|
|
11
|
+
function StreamsStyleConfigPlayerStyle(obj) {
|
|
12
12
|
if (!obj) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
@@ -20,7 +20,7 @@ var StreamsConfigPlayerStyle = /** @class */ (function () {
|
|
|
20
20
|
this.textColor = (0, Mapper_1.map)(obj.textColor);
|
|
21
21
|
this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
|
|
22
22
|
}
|
|
23
|
-
return
|
|
23
|
+
return StreamsStyleConfigPlayerStyle;
|
|
24
24
|
}());
|
|
25
|
-
exports.
|
|
26
|
-
exports.default =
|
|
25
|
+
exports.StreamsStyleConfigPlayerStyle = StreamsStyleConfigPlayerStyle;
|
|
26
|
+
exports.default = StreamsStyleConfigPlayerStyle;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import StreamsStyleConfigPlayerStyle from './StreamsStyleConfigPlayerStyle';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class StreamsStyleConfigResponse
|
|
5
|
+
*/
|
|
6
|
+
export declare class StreamsStyleConfigResponse {
|
|
7
|
+
/**
|
|
8
|
+
* The identifier of the style config
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof StreamsStyleConfigResponse
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* UUID of the associated organization
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof StreamsStyleConfigResponse
|
|
17
|
+
*/
|
|
18
|
+
orgId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @type {StreamsStyleConfigPlayerStyle}
|
|
21
|
+
* @memberof StreamsStyleConfigResponse
|
|
22
|
+
*/
|
|
23
|
+
playerStyle?: StreamsStyleConfigPlayerStyle;
|
|
24
|
+
/**
|
|
25
|
+
* URL of the watermark image
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StreamsStyleConfigResponse
|
|
28
|
+
*/
|
|
29
|
+
watermarkUrl?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Target link of the watermark image
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StreamsStyleConfigResponse
|
|
34
|
+
*/
|
|
35
|
+
watermarkTargetLink?: string;
|
|
36
|
+
constructor(obj?: Partial<StreamsStyleConfigResponse>);
|
|
37
|
+
}
|
|
38
|
+
export default StreamsStyleConfigResponse;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StreamsStyleConfigResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var
|
|
5
|
+
var StreamsStyleConfigPlayerStyle_1 = require("./StreamsStyleConfigPlayerStyle");
|
|
6
6
|
/**
|
|
7
7
|
* @export
|
|
8
|
-
* @class
|
|
8
|
+
* @class StreamsStyleConfigResponse
|
|
9
9
|
*/
|
|
10
|
-
var
|
|
11
|
-
function
|
|
10
|
+
var StreamsStyleConfigResponse = /** @class */ (function () {
|
|
11
|
+
function StreamsStyleConfigResponse(obj) {
|
|
12
12
|
if (!obj) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
15
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
16
16
|
this.orgId = (0, Mapper_1.map)(obj.orgId);
|
|
17
|
-
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle,
|
|
17
|
+
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsStyleConfigPlayerStyle_1.default);
|
|
18
18
|
this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
|
|
19
19
|
this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return StreamsStyleConfigResponse;
|
|
22
22
|
}());
|
|
23
|
-
exports.
|
|
24
|
-
exports.default =
|
|
23
|
+
exports.StreamsStyleConfigResponse = StreamsStyleConfigResponse;
|
|
24
|
+
exports.default = StreamsStyleConfigResponse;
|
|
@@ -22,11 +22,11 @@ export declare class StreamsVideoCreateRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
description?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Id of the
|
|
25
|
+
* Id of the style config to use
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StreamsVideoCreateRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
styleConfigId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Id of the advertisement config to use
|
|
32
32
|
* @type {string}
|
|
@@ -14,7 +14,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
|
|
|
14
14
|
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
15
15
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
16
16
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
17
|
-
this.
|
|
17
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
18
18
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
19
19
|
}
|
|
20
20
|
return StreamsVideoCreateRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
|
-
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
|
+
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
4
4
|
import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
|
|
5
5
|
import StreamsVideoStatus from './StreamsVideoStatus';
|
|
6
6
|
/**
|
|
@@ -45,10 +45,10 @@ export declare class StreamsVideoResponse {
|
|
|
45
45
|
*/
|
|
46
46
|
status?: StreamsVideoStatus;
|
|
47
47
|
/**
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {StreamsStyleConfigResponse}
|
|
49
49
|
* @memberof StreamsVideoResponse
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
styleConfig?: StreamsStyleConfigResponse;
|
|
52
52
|
/**
|
|
53
53
|
* List of encoding status information
|
|
54
54
|
* @type {StreamsVideoEncodingTask[]}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StreamsVideoResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
|
-
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
6
|
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
|
+
var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
|
|
8
8
|
var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
|
|
9
9
|
/**
|
|
10
10
|
* @export
|
|
@@ -21,7 +21,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
21
21
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
22
22
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
23
23
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
24
|
-
this.
|
|
24
|
+
this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
25
25
|
this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
26
26
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
27
27
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
@@ -23,11 +23,11 @@ export declare class StreamsVideoUpdateRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
description?: string;
|
|
25
25
|
/**
|
|
26
|
-
* Id of the
|
|
26
|
+
* Id of the style config to use
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof StreamsVideoUpdateRequest
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
styleConfigId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* URL to hosted poster image
|
|
33
33
|
* @type {string}
|
|
@@ -40,6 +40,12 @@ export declare class StreamsVideoUpdateRequest {
|
|
|
40
40
|
* @memberof StreamsVideoUpdateRequest
|
|
41
41
|
*/
|
|
42
42
|
adConfigId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Id of the content protection config to use
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof StreamsVideoUpdateRequest
|
|
47
|
+
*/
|
|
48
|
+
contentProtectionId?: string;
|
|
43
49
|
constructor(obj?: Partial<StreamsVideoUpdateRequest>);
|
|
44
50
|
}
|
|
45
51
|
export default StreamsVideoUpdateRequest;
|
|
@@ -14,9 +14,10 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
|
|
|
14
14
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
15
15
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
16
16
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
17
|
-
this.
|
|
17
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
18
18
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
19
19
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
20
|
+
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
20
21
|
}
|
|
21
22
|
return StreamsVideoUpdateRequest;
|
|
22
23
|
}());
|
|
@@ -62,7 +62,7 @@ export declare class VideoConfiguration extends CodecConfiguration {
|
|
|
62
62
|
*/
|
|
63
63
|
displayAspectRatio?: DisplayAspectRatio;
|
|
64
64
|
/**
|
|
65
|
-
* The mode of the encoding
|
|
65
|
+
* The mode of the encoding. When this is set, `encodingMode` (`liveEncodingMode`) must not be set in the (live) encoding start request.
|
|
66
66
|
* @type {EncodingMode}
|
|
67
67
|
* @memberof VideoConfiguration
|
|
68
68
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -465,6 +465,7 @@ export * from './LiveEncodingStatsEventDetails';
|
|
|
465
465
|
export * from './LiveEncodingStatus';
|
|
466
466
|
export * from './LiveHlsManifest';
|
|
467
467
|
export * from './LiveMediaIngestOutput';
|
|
468
|
+
export * from './LiveOptionsType';
|
|
468
469
|
export * from './LocalInput';
|
|
469
470
|
export * from './LocalOutput';
|
|
470
471
|
export * from './Manifest';
|
|
@@ -699,13 +700,13 @@ export * from './StreamPerTitleSettings';
|
|
|
699
700
|
export * from './StreamSelectionMode';
|
|
700
701
|
export * from './StreamsAdConfigAd';
|
|
701
702
|
export * from './StreamsAdConfigResponse';
|
|
702
|
-
export * from './StreamsConfigPlayerStyle';
|
|
703
|
-
export * from './StreamsConfigResponse';
|
|
704
703
|
export * from './StreamsContentProtectionResponse';
|
|
705
704
|
export * from './StreamsLiveCreateRequest';
|
|
706
705
|
export * from './StreamsLiveLifeCycle';
|
|
707
706
|
export * from './StreamsLiveResponse';
|
|
708
707
|
export * from './StreamsLiveUpdateRequest';
|
|
708
|
+
export * from './StreamsStyleConfigPlayerStyle';
|
|
709
|
+
export * from './StreamsStyleConfigResponse';
|
|
709
710
|
export * from './StreamsVideoCreateRequest';
|
|
710
711
|
export * from './StreamsVideoEncodingStatus';
|
|
711
712
|
export * from './StreamsVideoEncodingTask';
|
package/dist/models/index.js
CHANGED
|
@@ -481,6 +481,7 @@ __exportStar(require("./LiveEncodingStatsEventDetails"), exports);
|
|
|
481
481
|
__exportStar(require("./LiveEncodingStatus"), exports);
|
|
482
482
|
__exportStar(require("./LiveHlsManifest"), exports);
|
|
483
483
|
__exportStar(require("./LiveMediaIngestOutput"), exports);
|
|
484
|
+
__exportStar(require("./LiveOptionsType"), exports);
|
|
484
485
|
__exportStar(require("./LocalInput"), exports);
|
|
485
486
|
__exportStar(require("./LocalOutput"), exports);
|
|
486
487
|
__exportStar(require("./Manifest"), exports);
|
|
@@ -715,13 +716,13 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
|
|
|
715
716
|
__exportStar(require("./StreamSelectionMode"), exports);
|
|
716
717
|
__exportStar(require("./StreamsAdConfigAd"), exports);
|
|
717
718
|
__exportStar(require("./StreamsAdConfigResponse"), exports);
|
|
718
|
-
__exportStar(require("./StreamsConfigPlayerStyle"), exports);
|
|
719
|
-
__exportStar(require("./StreamsConfigResponse"), exports);
|
|
720
719
|
__exportStar(require("./StreamsContentProtectionResponse"), exports);
|
|
721
720
|
__exportStar(require("./StreamsLiveCreateRequest"), exports);
|
|
722
721
|
__exportStar(require("./StreamsLiveLifeCycle"), exports);
|
|
723
722
|
__exportStar(require("./StreamsLiveResponse"), exports);
|
|
724
723
|
__exportStar(require("./StreamsLiveUpdateRequest"), exports);
|
|
724
|
+
__exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
|
|
725
|
+
__exportStar(require("./StreamsStyleConfigResponse"), exports);
|
|
725
726
|
__exportStar(require("./StreamsVideoCreateRequest"), exports);
|
|
726
727
|
__exportStar(require("./StreamsVideoEncodingStatus"), exports);
|
|
727
728
|
__exportStar(require("./StreamsVideoEncodingTask"), exports);
|
|
@@ -17,7 +17,7 @@ export default class ErrorApi extends BaseAPI {
|
|
|
17
17
|
constructor(configuration: Configuration);
|
|
18
18
|
/**
|
|
19
19
|
* @summary Add 'Encoding Error' Webhook
|
|
20
|
-
* @param {Webhook} webhook The 'Encoding Error' Webhook to be added.
|
|
20
|
+
* @param {Webhook} webhook The 'Encoding Error' Webhook to be added.
|
|
21
21
|
* @throws {BitmovinError}
|
|
22
22
|
* @memberof ErrorApi
|
|
23
23
|
*/
|
|
@@ -38,7 +38,7 @@ var ErrorApi = /** @class */ (function (_super) {
|
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* @summary Add 'Encoding Error' Webhook
|
|
41
|
-
* @param {Webhook} webhook The 'Encoding Error' Webhook to be added.
|
|
41
|
+
* @param {Webhook} webhook The 'Encoding Error' Webhook to be added.
|
|
42
42
|
* @throws {BitmovinError}
|
|
43
43
|
* @memberof ErrorApi
|
|
44
44
|
*/
|
|
@@ -17,7 +17,7 @@ export default class FinishedApi extends BaseAPI {
|
|
|
17
17
|
constructor(configuration: Configuration);
|
|
18
18
|
/**
|
|
19
19
|
* @summary Add 'Encoding Finished' Webhook
|
|
20
|
-
* @param {Webhook} webhook The 'Encoding Finished' Webhook to be added.
|
|
20
|
+
* @param {Webhook} webhook The 'Encoding Finished' Webhook to be added.
|
|
21
21
|
* @throws {BitmovinError}
|
|
22
22
|
* @memberof FinishedApi
|
|
23
23
|
*/
|