@bitmovin/api-sdk 1.166.0 → 1.168.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 +504 -88
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingListQueryParams.d.ts +4 -4
- package/dist/encoding/encodings/EncodingListQueryParams.js +2 -2
- package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
- package/dist/encoding/encodings/live/LiveApi.js +2 -0
- package/dist/encoding/encodings/live/hd/HdApi.d.ts +19 -0
- package/dist/encoding/encodings/live/hd/HdApi.js +48 -0
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.d.ts +1 -1
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.js +1 -1
- package/dist/encoding/statistics/encodings/live/LiveApi.d.ts +2 -0
- package/dist/encoding/statistics/encodings/live/LiveApi.js +2 -0
- package/dist/encoding/statistics/encodings/live/options/LiveOptionsStatisticsListByDateRangeQueryParams.d.ts +50 -0
- package/dist/encoding/statistics/encodings/live/options/LiveOptionsStatisticsListByDateRangeQueryParams.js +45 -0
- package/dist/encoding/statistics/encodings/live/options/OptionsApi.d.ts +28 -0
- package/dist/encoding/statistics/encodings/live/options/OptionsApi.js +68 -0
- package/dist/models/AdAnalyticsAttribute.d.ts +1 -0
- package/dist/models/AdAnalyticsAttribute.js +1 -0
- package/dist/models/AnalyticsAdsImpressionSample.d.ts +6 -0
- package/dist/models/AnalyticsAdsImpressionSample.js +1 -0
- package/dist/models/AnalyticsAttribute.d.ts +1 -0
- package/dist/models/AnalyticsAttribute.js +1 -0
- package/dist/models/AnalyticsImpressionSample.d.ts +6 -0
- package/dist/models/AnalyticsImpressionSample.js +1 -0
- 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/LiveEncodingOptionsStatistics.d.ts +26 -0
- package/dist/models/LiveEncodingOptionsStatistics.js +21 -0
- package/dist/models/LiveOptionsBreakdownEntry.d.ts +20 -0
- package/dist/models/LiveOptionsBreakdownEntry.js +21 -0
- package/dist/models/LiveOptionsEntry.d.ts +14 -0
- package/dist/models/LiveOptionsEntry.js +19 -0
- package/dist/models/LiveOptionsStatistics.d.ts +21 -0
- package/dist/models/LiveOptionsStatistics.js +22 -0
- package/dist/models/LiveOptionsSummary.d.ts +14 -0
- package/dist/models/LiveOptionsSummary.js +20 -0
- package/dist/models/Mp4Muxing.d.ts +1 -1
- package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
- package/dist/models/PrewarmedEncoderPool.js +1 -0
- package/dist/models/StartLiveChannelEncodingRequest.d.ts +9 -0
- package/dist/models/StartLiveChannelEncodingRequest.js +36 -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 +2 -2
- package/dist/models/StreamsLiveUpdateRequest.js +1 -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 +2 -2
- package/dist/models/StreamsVideoUpdateRequest.js +1 -1
- package/dist/models/index.d.ts +8 -2
- package/dist/models/index.js +8 -2
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class LiveOptionsEntry
|
|
4
|
+
*/
|
|
5
|
+
export declare class LiveOptionsEntry {
|
|
6
|
+
/**
|
|
7
|
+
* Live option units used (required)
|
|
8
|
+
* @type {number}
|
|
9
|
+
* @memberof LiveOptionsEntry
|
|
10
|
+
*/
|
|
11
|
+
unitsUsed?: number;
|
|
12
|
+
constructor(obj?: Partial<LiveOptionsEntry>);
|
|
13
|
+
}
|
|
14
|
+
export default LiveOptionsEntry;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveOptionsEntry = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class LiveOptionsEntry
|
|
8
|
+
*/
|
|
9
|
+
var LiveOptionsEntry = /** @class */ (function () {
|
|
10
|
+
function LiveOptionsEntry(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.unitsUsed = (0, Mapper_1.map)(obj.unitsUsed);
|
|
15
|
+
}
|
|
16
|
+
return LiveOptionsEntry;
|
|
17
|
+
}());
|
|
18
|
+
exports.LiveOptionsEntry = LiveOptionsEntry;
|
|
19
|
+
exports.default = LiveOptionsEntry;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import LiveOptionsBreakdownEntry from './LiveOptionsBreakdownEntry';
|
|
2
|
+
import LiveOptionsSummary from './LiveOptionsSummary';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class LiveOptionsStatistics
|
|
6
|
+
*/
|
|
7
|
+
export declare class LiveOptionsStatistics {
|
|
8
|
+
/**
|
|
9
|
+
* @type {LiveOptionsSummary}
|
|
10
|
+
* @memberof LiveOptionsStatistics
|
|
11
|
+
*/
|
|
12
|
+
summary?: LiveOptionsSummary;
|
|
13
|
+
/**
|
|
14
|
+
* Live options statistics aggregated per day (required)
|
|
15
|
+
* @type {LiveOptionsBreakdownEntry[]}
|
|
16
|
+
* @memberof LiveOptionsStatistics
|
|
17
|
+
*/
|
|
18
|
+
breakdown?: LiveOptionsBreakdownEntry[];
|
|
19
|
+
constructor(obj?: Partial<LiveOptionsStatistics>);
|
|
20
|
+
}
|
|
21
|
+
export default LiveOptionsStatistics;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveOptionsStatistics = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var LiveOptionsBreakdownEntry_1 = require("./LiveOptionsBreakdownEntry");
|
|
6
|
+
var LiveOptionsSummary_1 = require("./LiveOptionsSummary");
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @class LiveOptionsStatistics
|
|
10
|
+
*/
|
|
11
|
+
var LiveOptionsStatistics = /** @class */ (function () {
|
|
12
|
+
function LiveOptionsStatistics(obj) {
|
|
13
|
+
if (!obj) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
this.summary = (0, Mapper_1.map)(obj.summary, LiveOptionsSummary_1.default);
|
|
17
|
+
this.breakdown = (0, Mapper_1.mapArray)(obj.breakdown, LiveOptionsBreakdownEntry_1.default);
|
|
18
|
+
}
|
|
19
|
+
return LiveOptionsStatistics;
|
|
20
|
+
}());
|
|
21
|
+
exports.LiveOptionsStatistics = LiveOptionsStatistics;
|
|
22
|
+
exports.default = LiveOptionsStatistics;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import LiveOptionsEntry from './LiveOptionsEntry';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveOptionsSummary
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveOptionsSummary {
|
|
7
|
+
/**
|
|
8
|
+
* @type {LiveOptionsEntry}
|
|
9
|
+
* @memberof LiveOptionsSummary
|
|
10
|
+
*/
|
|
11
|
+
hd?: LiveOptionsEntry;
|
|
12
|
+
constructor(obj?: Partial<LiveOptionsSummary>);
|
|
13
|
+
}
|
|
14
|
+
export default LiveOptionsSummary;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveOptionsSummary = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var LiveOptionsEntry_1 = require("./LiveOptionsEntry");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveOptionsSummary
|
|
9
|
+
*/
|
|
10
|
+
var LiveOptionsSummary = /** @class */ (function () {
|
|
11
|
+
function LiveOptionsSummary(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.hd = (0, Mapper_1.map)(obj.hd, LiveOptionsEntry_1.default);
|
|
16
|
+
}
|
|
17
|
+
return LiveOptionsSummary;
|
|
18
|
+
}());
|
|
19
|
+
exports.LiveOptionsSummary = LiveOptionsSummary;
|
|
20
|
+
exports.default = LiveOptionsSummary;
|
|
@@ -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
|
*/
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import StartLiveEncodingRequest from './StartLiveEncodingRequest';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class StartLiveChannelEncodingRequest
|
|
5
|
+
*/
|
|
6
|
+
export declare class StartLiveChannelEncodingRequest extends StartLiveEncodingRequest {
|
|
7
|
+
constructor(obj?: Partial<StartLiveChannelEncodingRequest>);
|
|
8
|
+
}
|
|
9
|
+
export default StartLiveChannelEncodingRequest;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.StartLiveChannelEncodingRequest = void 0;
|
|
19
|
+
var StartLiveEncodingRequest_1 = require("./StartLiveEncodingRequest");
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
* @class StartLiveChannelEncodingRequest
|
|
23
|
+
*/
|
|
24
|
+
var StartLiveChannelEncodingRequest = /** @class */ (function (_super) {
|
|
25
|
+
__extends(StartLiveChannelEncodingRequest, _super);
|
|
26
|
+
function StartLiveChannelEncodingRequest(obj) {
|
|
27
|
+
var _this = _super.call(this, obj) || this;
|
|
28
|
+
if (!obj) {
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return StartLiveChannelEncodingRequest;
|
|
34
|
+
}(StartLiveEncodingRequest_1.default));
|
|
35
|
+
exports.StartLiveChannelEncodingRequest = StartLiveChannelEncodingRequest;
|
|
36
|
+
exports.default = StartLiveChannelEncodingRequest;
|
|
@@ -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}
|
|
@@ -13,7 +13,7 @@ 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
19
|
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
@@ -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}
|
|
@@ -14,7 +14,7 @@ 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
20
|
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
package/dist/models/index.d.ts
CHANGED
|
@@ -459,12 +459,17 @@ export * from './LiveDashManifest';
|
|
|
459
459
|
export * from './LiveEncoding';
|
|
460
460
|
export * from './LiveEncodingCodec';
|
|
461
461
|
export * from './LiveEncodingEventName';
|
|
462
|
+
export * from './LiveEncodingOptionsStatistics';
|
|
462
463
|
export * from './LiveEncodingStats';
|
|
463
464
|
export * from './LiveEncodingStatsEvent';
|
|
464
465
|
export * from './LiveEncodingStatsEventDetails';
|
|
465
466
|
export * from './LiveEncodingStatus';
|
|
466
467
|
export * from './LiveHlsManifest';
|
|
467
468
|
export * from './LiveMediaIngestOutput';
|
|
469
|
+
export * from './LiveOptionsBreakdownEntry';
|
|
470
|
+
export * from './LiveOptionsEntry';
|
|
471
|
+
export * from './LiveOptionsStatistics';
|
|
472
|
+
export * from './LiveOptionsSummary';
|
|
468
473
|
export * from './LiveOptionsType';
|
|
469
474
|
export * from './LocalInput';
|
|
470
475
|
export * from './LocalOutput';
|
|
@@ -673,6 +678,7 @@ export * from './SrtStatisticWindow';
|
|
|
673
678
|
export * from './SrtStatistics';
|
|
674
679
|
export * from './StandardMediaInfo';
|
|
675
680
|
export * from './StartEncodingRequest';
|
|
681
|
+
export * from './StartLiveChannelEncodingRequest';
|
|
676
682
|
export * from './StartLiveEncodingRequest';
|
|
677
683
|
export * from './StartManifestRequest';
|
|
678
684
|
export * from './StaticIp';
|
|
@@ -700,13 +706,13 @@ export * from './StreamPerTitleSettings';
|
|
|
700
706
|
export * from './StreamSelectionMode';
|
|
701
707
|
export * from './StreamsAdConfigAd';
|
|
702
708
|
export * from './StreamsAdConfigResponse';
|
|
703
|
-
export * from './StreamsConfigPlayerStyle';
|
|
704
|
-
export * from './StreamsConfigResponse';
|
|
705
709
|
export * from './StreamsContentProtectionResponse';
|
|
706
710
|
export * from './StreamsLiveCreateRequest';
|
|
707
711
|
export * from './StreamsLiveLifeCycle';
|
|
708
712
|
export * from './StreamsLiveResponse';
|
|
709
713
|
export * from './StreamsLiveUpdateRequest';
|
|
714
|
+
export * from './StreamsStyleConfigPlayerStyle';
|
|
715
|
+
export * from './StreamsStyleConfigResponse';
|
|
710
716
|
export * from './StreamsVideoCreateRequest';
|
|
711
717
|
export * from './StreamsVideoEncodingStatus';
|
|
712
718
|
export * from './StreamsVideoEncodingTask';
|
package/dist/models/index.js
CHANGED
|
@@ -475,12 +475,17 @@ __exportStar(require("./LiveDashManifest"), exports);
|
|
|
475
475
|
__exportStar(require("./LiveEncoding"), exports);
|
|
476
476
|
__exportStar(require("./LiveEncodingCodec"), exports);
|
|
477
477
|
__exportStar(require("./LiveEncodingEventName"), exports);
|
|
478
|
+
__exportStar(require("./LiveEncodingOptionsStatistics"), exports);
|
|
478
479
|
__exportStar(require("./LiveEncodingStats"), exports);
|
|
479
480
|
__exportStar(require("./LiveEncodingStatsEvent"), exports);
|
|
480
481
|
__exportStar(require("./LiveEncodingStatsEventDetails"), exports);
|
|
481
482
|
__exportStar(require("./LiveEncodingStatus"), exports);
|
|
482
483
|
__exportStar(require("./LiveHlsManifest"), exports);
|
|
483
484
|
__exportStar(require("./LiveMediaIngestOutput"), exports);
|
|
485
|
+
__exportStar(require("./LiveOptionsBreakdownEntry"), exports);
|
|
486
|
+
__exportStar(require("./LiveOptionsEntry"), exports);
|
|
487
|
+
__exportStar(require("./LiveOptionsStatistics"), exports);
|
|
488
|
+
__exportStar(require("./LiveOptionsSummary"), exports);
|
|
484
489
|
__exportStar(require("./LiveOptionsType"), exports);
|
|
485
490
|
__exportStar(require("./LocalInput"), exports);
|
|
486
491
|
__exportStar(require("./LocalOutput"), exports);
|
|
@@ -689,6 +694,7 @@ __exportStar(require("./SrtStatisticWindow"), exports);
|
|
|
689
694
|
__exportStar(require("./SrtStatistics"), exports);
|
|
690
695
|
__exportStar(require("./StandardMediaInfo"), exports);
|
|
691
696
|
__exportStar(require("./StartEncodingRequest"), exports);
|
|
697
|
+
__exportStar(require("./StartLiveChannelEncodingRequest"), exports);
|
|
692
698
|
__exportStar(require("./StartLiveEncodingRequest"), exports);
|
|
693
699
|
__exportStar(require("./StartManifestRequest"), exports);
|
|
694
700
|
__exportStar(require("./StaticIp"), exports);
|
|
@@ -716,13 +722,13 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
|
|
|
716
722
|
__exportStar(require("./StreamSelectionMode"), exports);
|
|
717
723
|
__exportStar(require("./StreamsAdConfigAd"), exports);
|
|
718
724
|
__exportStar(require("./StreamsAdConfigResponse"), exports);
|
|
719
|
-
__exportStar(require("./StreamsConfigPlayerStyle"), exports);
|
|
720
|
-
__exportStar(require("./StreamsConfigResponse"), exports);
|
|
721
725
|
__exportStar(require("./StreamsContentProtectionResponse"), exports);
|
|
722
726
|
__exportStar(require("./StreamsLiveCreateRequest"), exports);
|
|
723
727
|
__exportStar(require("./StreamsLiveLifeCycle"), exports);
|
|
724
728
|
__exportStar(require("./StreamsLiveResponse"), exports);
|
|
725
729
|
__exportStar(require("./StreamsLiveUpdateRequest"), exports);
|
|
730
|
+
__exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
|
|
731
|
+
__exportStar(require("./StreamsStyleConfigResponse"), exports);
|
|
726
732
|
__exportStar(require("./StreamsVideoCreateRequest"), exports);
|
|
727
733
|
__exportStar(require("./StreamsVideoEncodingStatus"), exports);
|
|
728
734
|
__exportStar(require("./StreamsVideoEncodingTask"), exports);
|
|
@@ -49,7 +49,7 @@ export default class LiveApi extends BaseAPI {
|
|
|
49
49
|
/**
|
|
50
50
|
* @summary Update live stream by id
|
|
51
51
|
* @param {string} streamId Id of the stream.
|
|
52
|
-
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated
|
|
52
|
+
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated Streams live object.
|
|
53
53
|
* @throws {BitmovinError}
|
|
54
54
|
* @memberof LiveApi
|
|
55
55
|
*/
|