@bitmovin/api-sdk 1.234.4 → 1.235.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 +245 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/inputs/InputsApi.d.ts +2 -0
- package/dist/encoding/inputs/InputsApi.js +2 -0
- package/dist/encoding/inputs/hls/HlsApi.d.ts +42 -0
- package/dist/encoding/inputs/hls/HlsApi.js +93 -0
- package/dist/encoding/inputs/hls/HlsInputListQueryParams.d.ts +39 -0
- package/dist/encoding/inputs/hls/HlsInputListQueryParams.js +37 -0
- package/dist/models/AwsAccount.d.ts +14 -2
- package/dist/models/AwsAccount.js +2 -0
- package/dist/models/DashManifestAdMarkerSettings.d.ts +21 -0
- package/dist/models/DashManifestAdMarkerSettings.js +21 -0
- package/dist/models/DashScte35EventStreamSignalling.d.ts +10 -0
- package/dist/models/DashScte35EventStreamSignalling.js +14 -0
- package/dist/models/DashScte35PeriodOption.d.ts +10 -0
- package/dist/models/DashScte35PeriodOption.js +14 -0
- package/dist/models/LiveDashManifest.d.ts +6 -0
- package/dist/models/LiveDashManifest.js +2 -0
- package/dist/models/Scene.d.ts +5 -0
- package/dist/models/Scene.js +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -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.235.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -11,6 +11,7 @@ import GcsApi from './gcs/GcsApi';
|
|
|
11
11
|
import GcsServiceAccountApi from './gcsServiceAccount/GcsServiceAccountApi';
|
|
12
12
|
import AzureApi from './azure/AzureApi';
|
|
13
13
|
import FtpApi from './ftp/FtpApi';
|
|
14
|
+
import HlsApi from './hls/HlsApi';
|
|
14
15
|
import SftpApi from './sftp/SftpApi';
|
|
15
16
|
import HttpApi from './http/HttpApi';
|
|
16
17
|
import HttpsApi from './https/HttpsApi';
|
|
@@ -40,6 +41,7 @@ export default class InputsApi extends BaseAPI {
|
|
|
40
41
|
gcsServiceAccount: GcsServiceAccountApi;
|
|
41
42
|
azure: AzureApi;
|
|
42
43
|
ftp: FtpApi;
|
|
44
|
+
hls: HlsApi;
|
|
43
45
|
sftp: SftpApi;
|
|
44
46
|
http: HttpApi;
|
|
45
47
|
https: HttpsApi;
|
|
@@ -28,6 +28,7 @@ var GcsApi_1 = require("./gcs/GcsApi");
|
|
|
28
28
|
var GcsServiceAccountApi_1 = require("./gcsServiceAccount/GcsServiceAccountApi");
|
|
29
29
|
var AzureApi_1 = require("./azure/AzureApi");
|
|
30
30
|
var FtpApi_1 = require("./ftp/FtpApi");
|
|
31
|
+
var HlsApi_1 = require("./hls/HlsApi");
|
|
31
32
|
var SftpApi_1 = require("./sftp/SftpApi");
|
|
32
33
|
var HttpApi_1 = require("./http/HttpApi");
|
|
33
34
|
var HttpsApi_1 = require("./https/HttpsApi");
|
|
@@ -60,6 +61,7 @@ var InputsApi = /** @class */ (function (_super) {
|
|
|
60
61
|
_this.gcsServiceAccount = new GcsServiceAccountApi_1.default(configuration);
|
|
61
62
|
_this.azure = new AzureApi_1.default(configuration);
|
|
62
63
|
_this.ftp = new FtpApi_1.default(configuration);
|
|
64
|
+
_this.hls = new HlsApi_1.default(configuration);
|
|
63
65
|
_this.sftp = new SftpApi_1.default(configuration);
|
|
64
66
|
_this.http = new HttpApi_1.default(configuration);
|
|
65
67
|
_this.https = new HttpsApi_1.default(configuration);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../common/Configuration';
|
|
3
|
+
import HlsInput from '../../../models/HlsInput';
|
|
4
|
+
import PaginationResponse from '../../../models/PaginationResponse';
|
|
5
|
+
import { HlsInputListQueryParams, HlsInputListQueryParamsBuilder } from './HlsInputListQueryParams';
|
|
6
|
+
/**
|
|
7
|
+
* HlsApi - object-oriented interface
|
|
8
|
+
* @export
|
|
9
|
+
* @class HlsApi
|
|
10
|
+
* @extends {BaseAPI}
|
|
11
|
+
*/
|
|
12
|
+
export default class HlsApi extends BaseAPI {
|
|
13
|
+
constructor(configuration: Configuration);
|
|
14
|
+
/**
|
|
15
|
+
* @summary Create HLS input
|
|
16
|
+
* @param {HlsInput} hlsInput The HLSInput to be created
|
|
17
|
+
* @throws {BitmovinError}
|
|
18
|
+
* @memberof HlsApi
|
|
19
|
+
*/
|
|
20
|
+
create(hlsInput?: HlsInput): Promise<HlsInput>;
|
|
21
|
+
/**
|
|
22
|
+
* @summary Delete HLS Input
|
|
23
|
+
* @param {string} inputId Id of the input
|
|
24
|
+
* @throws {BitmovinError}
|
|
25
|
+
* @memberof HlsApi
|
|
26
|
+
*/
|
|
27
|
+
delete(inputId: string): Promise<HlsInput>;
|
|
28
|
+
/**
|
|
29
|
+
* @summary HLS Input Details
|
|
30
|
+
* @param {string} inputId Id of the input
|
|
31
|
+
* @throws {BitmovinError}
|
|
32
|
+
* @memberof HlsApi
|
|
33
|
+
*/
|
|
34
|
+
get(inputId: string): Promise<HlsInput>;
|
|
35
|
+
/**
|
|
36
|
+
* @summary List HLS inputs
|
|
37
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
38
|
+
* @throws {BitmovinError}
|
|
39
|
+
* @memberof HlsApi
|
|
40
|
+
*/
|
|
41
|
+
list(queryParameters?: HlsInputListQueryParams | ((q: HlsInputListQueryParamsBuilder) => HlsInputListQueryParamsBuilder)): Promise<PaginationResponse<HlsInput>>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
19
|
+
var Mapper_1 = require("../../../common/Mapper");
|
|
20
|
+
var HlsInput_1 = require("../../../models/HlsInput");
|
|
21
|
+
var PaginationResponse_1 = require("../../../models/PaginationResponse");
|
|
22
|
+
var HlsInputListQueryParams_1 = require("./HlsInputListQueryParams");
|
|
23
|
+
/**
|
|
24
|
+
* HlsApi - object-oriented interface
|
|
25
|
+
* @export
|
|
26
|
+
* @class HlsApi
|
|
27
|
+
* @extends {BaseAPI}
|
|
28
|
+
*/
|
|
29
|
+
var HlsApi = /** @class */ (function (_super) {
|
|
30
|
+
__extends(HlsApi, _super);
|
|
31
|
+
function HlsApi(configuration) {
|
|
32
|
+
return _super.call(this, configuration) || this;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @summary Create HLS input
|
|
36
|
+
* @param {HlsInput} hlsInput The HLSInput to be created
|
|
37
|
+
* @throws {BitmovinError}
|
|
38
|
+
* @memberof HlsApi
|
|
39
|
+
*/
|
|
40
|
+
HlsApi.prototype.create = function (hlsInput) {
|
|
41
|
+
return this.restClient.post('/encoding/inputs/hls', {}, hlsInput).then(function (response) {
|
|
42
|
+
return (0, Mapper_1.map)(response, HlsInput_1.default);
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @summary Delete HLS Input
|
|
47
|
+
* @param {string} inputId Id of the input
|
|
48
|
+
* @throws {BitmovinError}
|
|
49
|
+
* @memberof HlsApi
|
|
50
|
+
*/
|
|
51
|
+
HlsApi.prototype.delete = function (inputId) {
|
|
52
|
+
var pathParamMap = {
|
|
53
|
+
input_id: inputId
|
|
54
|
+
};
|
|
55
|
+
return this.restClient.delete('/encoding/inputs/hls/{input_id}', pathParamMap).then(function (response) {
|
|
56
|
+
return (0, Mapper_1.map)(response, HlsInput_1.default);
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @summary HLS Input Details
|
|
61
|
+
* @param {string} inputId Id of the input
|
|
62
|
+
* @throws {BitmovinError}
|
|
63
|
+
* @memberof HlsApi
|
|
64
|
+
*/
|
|
65
|
+
HlsApi.prototype.get = function (inputId) {
|
|
66
|
+
var pathParamMap = {
|
|
67
|
+
input_id: inputId
|
|
68
|
+
};
|
|
69
|
+
return this.restClient.get('/encoding/inputs/hls/{input_id}', pathParamMap).then(function (response) {
|
|
70
|
+
return (0, Mapper_1.map)(response, HlsInput_1.default);
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @summary List HLS inputs
|
|
75
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
76
|
+
* @throws {BitmovinError}
|
|
77
|
+
* @memberof HlsApi
|
|
78
|
+
*/
|
|
79
|
+
HlsApi.prototype.list = function (queryParameters) {
|
|
80
|
+
var queryParams = {};
|
|
81
|
+
if (typeof queryParameters === 'function') {
|
|
82
|
+
queryParams = queryParameters(new HlsInputListQueryParams_1.HlsInputListQueryParamsBuilder()).buildQueryParams();
|
|
83
|
+
}
|
|
84
|
+
else if (queryParameters) {
|
|
85
|
+
queryParams = queryParameters;
|
|
86
|
+
}
|
|
87
|
+
return this.restClient.get('/encoding/inputs/hls', {}, queryParams).then(function (response) {
|
|
88
|
+
return new PaginationResponse_1.default(response, HlsInput_1.default);
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
return HlsApi;
|
|
92
|
+
}(BaseAPI_1.BaseAPI));
|
|
93
|
+
exports.default = HlsApi;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface HlsInputListQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof HlsInputListQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof HlsInputListQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Filter inputs by name
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof HlsInputListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare class HlsInputListQueryParamsBuilder {
|
|
22
|
+
private internalParams;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
26
|
+
*/
|
|
27
|
+
offset(offset: number): this;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31
|
+
*/
|
|
32
|
+
limit(limit: number): this;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param name Filter inputs by name
|
|
36
|
+
*/
|
|
37
|
+
name(name: string): this;
|
|
38
|
+
buildQueryParams(): HlsInputListQueryParams;
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HlsInputListQueryParamsBuilder = void 0;
|
|
4
|
+
var HlsInputListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
+
function HlsInputListQueryParamsBuilder() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
HlsInputListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
13
|
+
this.internalParams.offset = offset;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
+
*/
|
|
20
|
+
HlsInputListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param name Filter inputs by name
|
|
27
|
+
*/
|
|
28
|
+
HlsInputListQueryParamsBuilder.prototype.name = function (name) {
|
|
29
|
+
this.internalParams.name = name;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
HlsInputListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
33
|
+
return this.internalParams;
|
|
34
|
+
};
|
|
35
|
+
return HlsInputListQueryParamsBuilder;
|
|
36
|
+
}());
|
|
37
|
+
exports.HlsInputListQueryParamsBuilder = HlsInputListQueryParamsBuilder;
|
|
@@ -5,13 +5,13 @@ import BitmovinResource from './BitmovinResource';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class AwsAccount extends BitmovinResource {
|
|
7
7
|
/**
|
|
8
|
-
* Amazon access key
|
|
8
|
+
* Deprecated: Amazon access key for legacy support. Use roleName instead
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @memberof AwsAccount
|
|
11
11
|
*/
|
|
12
12
|
accessKey?: string;
|
|
13
13
|
/**
|
|
14
|
-
* Amazon secret key
|
|
14
|
+
* Deprecated: Amazon secret key for legacy support. Use roleName instead
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @memberof AwsAccount
|
|
17
17
|
*/
|
|
@@ -22,6 +22,18 @@ export declare class AwsAccount extends BitmovinResource {
|
|
|
22
22
|
* @memberof AwsAccount
|
|
23
23
|
*/
|
|
24
24
|
accountNumber?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Role name including path for the AWS IAM role that will be used by Bitmovin to access the AWS account depicted by accountNumber. The role ARN is constructed based on accountNumber and roleName: arn:aws:iam::{accountNumber}:role/{roleName}
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AwsAccount
|
|
29
|
+
*/
|
|
30
|
+
roleName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* External ID that needs to be set in the trust policy of the AWS IAM role (depicted by roleName) that allows Bitmovin access to the AWS account depicted by accountNumber
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AwsAccount
|
|
35
|
+
*/
|
|
36
|
+
externalId?: string;
|
|
25
37
|
constructor(obj?: Partial<AwsAccount>);
|
|
26
38
|
}
|
|
27
39
|
export default AwsAccount;
|
|
@@ -32,6 +32,8 @@ var AwsAccount = /** @class */ (function (_super) {
|
|
|
32
32
|
_this.accessKey = (0, Mapper_1.map)(obj.accessKey);
|
|
33
33
|
_this.secretKey = (0, Mapper_1.map)(obj.secretKey);
|
|
34
34
|
_this.accountNumber = (0, Mapper_1.map)(obj.accountNumber);
|
|
35
|
+
_this.roleName = (0, Mapper_1.map)(obj.roleName);
|
|
36
|
+
_this.externalId = (0, Mapper_1.map)(obj.externalId);
|
|
35
37
|
return _this;
|
|
36
38
|
}
|
|
37
39
|
return AwsAccount;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import DashScte35EventStreamSignalling from './DashScte35EventStreamSignalling';
|
|
2
|
+
import DashScte35PeriodOption from './DashScte35PeriodOption';
|
|
3
|
+
/**
|
|
4
|
+
* An optional configuration object used to define SCTE-35 signaling for ad insertion or content segmentation. This field enables precise control over signaling behavior at both the period and event stream levels, making it suitable for dynamic ad insertion (DAI) and live streaming workflows. This follows the ANSI/SCTE 214-1 (2024) standard.
|
|
5
|
+
* @export
|
|
6
|
+
* @class DashManifestAdMarkerSettings
|
|
7
|
+
*/
|
|
8
|
+
export declare class DashManifestAdMarkerSettings {
|
|
9
|
+
/**
|
|
10
|
+
* @type {DashScte35PeriodOption}
|
|
11
|
+
* @memberof DashManifestAdMarkerSettings
|
|
12
|
+
*/
|
|
13
|
+
periodOption?: DashScte35PeriodOption;
|
|
14
|
+
/**
|
|
15
|
+
* @type {DashScte35EventStreamSignalling}
|
|
16
|
+
* @memberof DashManifestAdMarkerSettings
|
|
17
|
+
*/
|
|
18
|
+
eventStreamSignalling?: DashScte35EventStreamSignalling;
|
|
19
|
+
constructor(obj?: Partial<DashManifestAdMarkerSettings>);
|
|
20
|
+
}
|
|
21
|
+
export default DashManifestAdMarkerSettings;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashManifestAdMarkerSettings = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* An optional configuration object used to define SCTE-35 signaling for ad insertion or content segmentation. This field enables precise control over signaling behavior at both the period and event stream levels, making it suitable for dynamic ad insertion (DAI) and live streaming workflows. This follows the ANSI/SCTE 214-1 (2024) standard.
|
|
7
|
+
* @export
|
|
8
|
+
* @class DashManifestAdMarkerSettings
|
|
9
|
+
*/
|
|
10
|
+
var DashManifestAdMarkerSettings = /** @class */ (function () {
|
|
11
|
+
function DashManifestAdMarkerSettings(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.periodOption = (0, Mapper_1.map)(obj.periodOption);
|
|
16
|
+
this.eventStreamSignalling = (0, Mapper_1.map)(obj.eventStreamSignalling);
|
|
17
|
+
}
|
|
18
|
+
return DashManifestAdMarkerSettings;
|
|
19
|
+
}());
|
|
20
|
+
exports.DashManifestAdMarkerSettings = DashManifestAdMarkerSettings;
|
|
21
|
+
exports.default = DashManifestAdMarkerSettings;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines how SCTE-35 events are delivered using DASH EventStream. <ul> <li>XML: Events will contain an XML representation of a SCTE-35 cue message as a SpliceInfoSection element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2013:xml.</li> <li>XML_BIN: Events will contain an XML representation of a SCTE-35 cue message as a Signal.Binary element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2014:xml+bin</li> </ul>
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum DashScte35EventStreamSignalling {
|
|
7
|
+
XML = "XML",
|
|
8
|
+
XML_BIN = "XML_BIN"
|
|
9
|
+
}
|
|
10
|
+
export default DashScte35EventStreamSignalling;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashScte35EventStreamSignalling = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Defines how SCTE-35 events are delivered using DASH EventStream. <ul> <li>XML: Events will contain an XML representation of a SCTE-35 cue message as a SpliceInfoSection element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2013:xml.</li> <li>XML_BIN: Events will contain an XML representation of a SCTE-35 cue message as a Signal.Binary element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2014:xml+bin</li> </ul>
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var DashScte35EventStreamSignalling;
|
|
10
|
+
(function (DashScte35EventStreamSignalling) {
|
|
11
|
+
DashScte35EventStreamSignalling["XML"] = "XML";
|
|
12
|
+
DashScte35EventStreamSignalling["XML_BIN"] = "XML_BIN";
|
|
13
|
+
})(DashScte35EventStreamSignalling || (exports.DashScte35EventStreamSignalling = DashScte35EventStreamSignalling = {}));
|
|
14
|
+
exports.default = DashScte35EventStreamSignalling;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls how SCTE-35 signals are applied at the DASH period level. <ul> <li>SINGLE_PERIOD: Applies SCTE markers to a single DASH period.</li> <li>MULTI_PERIOD: Multiple periods are created based on received SCTE-35 messages.</li> </ul>
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum DashScte35PeriodOption {
|
|
7
|
+
SINGLE_PERIOD = "SINGLE_PERIOD",
|
|
8
|
+
MULTI_PERIOD = "MULTI_PERIOD"
|
|
9
|
+
}
|
|
10
|
+
export default DashScte35PeriodOption;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashScte35PeriodOption = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Controls how SCTE-35 signals are applied at the DASH period level. <ul> <li>SINGLE_PERIOD: Applies SCTE markers to a single DASH period.</li> <li>MULTI_PERIOD: Multiple periods are created based on received SCTE-35 messages.</li> </ul>
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var DashScte35PeriodOption;
|
|
10
|
+
(function (DashScte35PeriodOption) {
|
|
11
|
+
DashScte35PeriodOption["SINGLE_PERIOD"] = "SINGLE_PERIOD";
|
|
12
|
+
DashScte35PeriodOption["MULTI_PERIOD"] = "MULTI_PERIOD";
|
|
13
|
+
})(DashScte35PeriodOption || (exports.DashScte35PeriodOption = DashScte35PeriodOption = {}));
|
|
14
|
+
exports.default = DashScte35PeriodOption;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import AvailabilityStartTimeMode from './AvailabilityStartTimeMode';
|
|
2
|
+
import DashManifestAdMarkerSettings from './DashManifestAdMarkerSettings';
|
|
2
3
|
/**
|
|
3
4
|
* @export
|
|
4
5
|
* @class LiveDashManifest
|
|
@@ -40,6 +41,11 @@ export declare class LiveDashManifest {
|
|
|
40
41
|
* @memberof LiveDashManifest
|
|
41
42
|
*/
|
|
42
43
|
availabilityStartTimeMode?: AvailabilityStartTimeMode;
|
|
44
|
+
/**
|
|
45
|
+
* @type {DashManifestAdMarkerSettings}
|
|
46
|
+
* @memberof LiveDashManifest
|
|
47
|
+
*/
|
|
48
|
+
adMarkerSettings?: DashManifestAdMarkerSettings;
|
|
43
49
|
constructor(obj?: Partial<LiveDashManifest>);
|
|
44
50
|
}
|
|
45
51
|
export default LiveDashManifest;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LiveDashManifest = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var DashManifestAdMarkerSettings_1 = require("./DashManifestAdMarkerSettings");
|
|
5
6
|
/**
|
|
6
7
|
* @export
|
|
7
8
|
* @class LiveDashManifest
|
|
@@ -17,6 +18,7 @@ var LiveDashManifest = /** @class */ (function () {
|
|
|
17
18
|
this.suggestedPresentationDelay = (0, Mapper_1.map)(obj.suggestedPresentationDelay);
|
|
18
19
|
this.minimumUpdatePeriod = (0, Mapper_1.map)(obj.minimumUpdatePeriod);
|
|
19
20
|
this.availabilityStartTimeMode = (0, Mapper_1.map)(obj.availabilityStartTimeMode);
|
|
21
|
+
this.adMarkerSettings = (0, Mapper_1.map)(obj.adMarkerSettings, DashManifestAdMarkerSettings_1.default);
|
|
20
22
|
}
|
|
21
23
|
return LiveDashManifest;
|
|
22
24
|
}());
|
package/dist/models/Scene.d.ts
CHANGED
package/dist/models/Scene.js
CHANGED
|
@@ -19,6 +19,7 @@ var Scene = /** @class */ (function () {
|
|
|
19
19
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
20
20
|
this.content = (0, Mapper_1.map)(obj.content, Content_1.default);
|
|
21
21
|
this.summary = (0, Mapper_1.map)(obj.summary);
|
|
22
|
+
this.verboseSummary = (0, Mapper_1.map)(obj.verboseSummary);
|
|
22
23
|
this.sensitiveTopics = (0, Mapper_1.mapArray)(obj.sensitiveTopics);
|
|
23
24
|
this.keywords = (0, Mapper_1.mapArray)(obj.keywords);
|
|
24
25
|
this.iab = (0, Mapper_1.map)(obj.iab, IABTaxonomy_1.default);
|
package/dist/models/index.d.ts
CHANGED
|
@@ -252,6 +252,7 @@ export * from './DashFmp4Representation';
|
|
|
252
252
|
export * from './DashISO8601TimestampFormat';
|
|
253
253
|
export * from './DashImscRepresentation';
|
|
254
254
|
export * from './DashManifest';
|
|
255
|
+
export * from './DashManifestAdMarkerSettings';
|
|
255
256
|
export * from './DashManifestDefault';
|
|
256
257
|
export * from './DashManifestDefaultVersion';
|
|
257
258
|
export * from './DashMp4DrmRepresentation';
|
|
@@ -265,6 +266,8 @@ export * from './DashRepresentationType';
|
|
|
265
266
|
export * from './DashRepresentationTypeDiscriminator';
|
|
266
267
|
export * from './DashRepresentationTypeMode';
|
|
267
268
|
export * from './DashRepresentationTypeResponse';
|
|
269
|
+
export * from './DashScte35EventStreamSignalling';
|
|
270
|
+
export * from './DashScte35PeriodOption';
|
|
268
271
|
export * from './DashSegmentedRepresentation';
|
|
269
272
|
export * from './DashVttRepresentation';
|
|
270
273
|
export * from './DashWebmRepresentation';
|
package/dist/models/index.js
CHANGED
|
@@ -268,6 +268,7 @@ __exportStar(require("./DashFmp4Representation"), exports);
|
|
|
268
268
|
__exportStar(require("./DashISO8601TimestampFormat"), exports);
|
|
269
269
|
__exportStar(require("./DashImscRepresentation"), exports);
|
|
270
270
|
__exportStar(require("./DashManifest"), exports);
|
|
271
|
+
__exportStar(require("./DashManifestAdMarkerSettings"), exports);
|
|
271
272
|
__exportStar(require("./DashManifestDefault"), exports);
|
|
272
273
|
__exportStar(require("./DashManifestDefaultVersion"), exports);
|
|
273
274
|
__exportStar(require("./DashMp4DrmRepresentation"), exports);
|
|
@@ -281,6 +282,8 @@ __exportStar(require("./DashRepresentationType"), exports);
|
|
|
281
282
|
__exportStar(require("./DashRepresentationTypeDiscriminator"), exports);
|
|
282
283
|
__exportStar(require("./DashRepresentationTypeMode"), exports);
|
|
283
284
|
__exportStar(require("./DashRepresentationTypeResponse"), exports);
|
|
285
|
+
__exportStar(require("./DashScte35EventStreamSignalling"), exports);
|
|
286
|
+
__exportStar(require("./DashScte35PeriodOption"), exports);
|
|
284
287
|
__exportStar(require("./DashSegmentedRepresentation"), exports);
|
|
285
288
|
__exportStar(require("./DashVttRepresentation"), exports);
|
|
286
289
|
__exportStar(require("./DashWebmRepresentation"), exports);
|