@bitmovin/api-sdk 1.184.0 → 1.185.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 +1 -223
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/inputStreams/subtitles/SubtitlesApi.d.ts +0 -2
- package/dist/encoding/encodings/inputStreams/subtitles/SubtitlesApi.js +0 -2
- package/dist/models/InputStream.d.ts +1 -2
- package/dist/models/InputStream.js +0 -1
- package/dist/models/InputStreamType.d.ts +0 -1
- package/dist/models/InputStreamType.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/dist/encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextApi.d.ts +0 -47
- package/dist/encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextApi.js +0 -106
- package/dist/encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextInputStreamListQueryParams.d.ts +0 -28
- package/dist/encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextInputStreamListQueryParams.js +0 -29
- package/dist/models/DvbTeletextInputStream.d.ts +0 -47
- package/dist/models/DvbTeletextInputStream.js +0 -49
|
@@ -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.185.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../../common/Configuration';
|
|
3
3
|
import DvbSubtitleApi from './dvbSubtitle/DvbSubtitleApi';
|
|
4
|
-
import DvbTeletextApi from './dvbTeletext/DvbTeletextApi';
|
|
5
4
|
/**
|
|
6
5
|
* SubtitlesApi - object-oriented interface
|
|
7
6
|
* @export
|
|
@@ -10,6 +9,5 @@ import DvbTeletextApi from './dvbTeletext/DvbTeletextApi';
|
|
|
10
9
|
*/
|
|
11
10
|
export default class SubtitlesApi extends BaseAPI {
|
|
12
11
|
dvbSubtitle: DvbSubtitleApi;
|
|
13
|
-
dvbTeletext: DvbTeletextApi;
|
|
14
12
|
constructor(configuration: Configuration);
|
|
15
13
|
}
|
|
@@ -17,7 +17,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var BaseAPI_1 = require("../../../../common/BaseAPI");
|
|
19
19
|
var DvbSubtitleApi_1 = require("./dvbSubtitle/DvbSubtitleApi");
|
|
20
|
-
var DvbTeletextApi_1 = require("./dvbTeletext/DvbTeletextApi");
|
|
21
20
|
/**
|
|
22
21
|
* SubtitlesApi - object-oriented interface
|
|
23
22
|
* @export
|
|
@@ -29,7 +28,6 @@ var SubtitlesApi = /** @class */ (function (_super) {
|
|
|
29
28
|
function SubtitlesApi(configuration) {
|
|
30
29
|
var _this = _super.call(this, configuration) || this;
|
|
31
30
|
_this.dvbSubtitle = new DvbSubtitleApi_1.default(configuration);
|
|
32
|
-
_this.dvbTeletext = new DvbTeletextApi_1.default(configuration);
|
|
33
31
|
return _this;
|
|
34
32
|
}
|
|
35
33
|
return SubtitlesApi;
|
|
@@ -7,14 +7,13 @@ import DolbyAtmosIngestInputStream from './DolbyAtmosIngestInputStream';
|
|
|
7
7
|
import DolbyVisionInputStream from './DolbyVisionInputStream';
|
|
8
8
|
import DolbyVisionMetadataIngestInputStream from './DolbyVisionMetadataIngestInputStream';
|
|
9
9
|
import DvbSubtitleInputStream from './DvbSubtitleInputStream';
|
|
10
|
-
import DvbTeletextInputStream from './DvbTeletextInputStream';
|
|
11
10
|
import FileInputStream from './FileInputStream';
|
|
12
11
|
import H264PictureTimingTrimmingInputStream from './H264PictureTimingTrimmingInputStream';
|
|
13
12
|
import IngestInputStream from './IngestInputStream';
|
|
14
13
|
import InputStreamType from './InputStreamType';
|
|
15
14
|
import TimeBasedTrimmingInputStream from './TimeBasedTrimmingInputStream';
|
|
16
15
|
import TimecodeTrackTrimmingInputStream from './TimecodeTrackTrimmingInputStream';
|
|
17
|
-
export type InputStreamUnion = IngestInputStream | ConcatenationInputStream | TimeBasedTrimmingInputStream | TimecodeTrackTrimmingInputStream | H264PictureTimingTrimmingInputStream | AudioMixInputStream | DolbyVisionMetadataIngestInputStream | Cea608CaptionInputStream | Cea708CaptionInputStream | FileInputStream | DvbSubtitleInputStream |
|
|
16
|
+
export type InputStreamUnion = IngestInputStream | ConcatenationInputStream | TimeBasedTrimmingInputStream | TimecodeTrackTrimmingInputStream | H264PictureTimingTrimmingInputStream | AudioMixInputStream | DolbyVisionMetadataIngestInputStream | Cea608CaptionInputStream | Cea708CaptionInputStream | FileInputStream | DvbSubtitleInputStream | DolbyAtmosIngestInputStream | DolbyVisionInputStream;
|
|
18
17
|
/**
|
|
19
18
|
* @export
|
|
20
19
|
* @class InputStream
|
|
@@ -43,7 +43,6 @@ var InputStream = /** @class */ (function (_super) {
|
|
|
43
43
|
CAPTION_CEA708: 'Cea708CaptionInputStream',
|
|
44
44
|
FILE: 'FileInputStream',
|
|
45
45
|
DVB_SUBTITLE: 'DvbSubtitleInputStream',
|
|
46
|
-
DVB_TELETEXT: 'DvbTeletextInputStream',
|
|
47
46
|
DOLBY_ATMOS: 'DolbyAtmosIngestInputStream',
|
|
48
47
|
DOLBY_VISION: 'DolbyVisionInputStream'
|
|
49
48
|
};
|
|
@@ -18,7 +18,6 @@ var InputStreamType;
|
|
|
18
18
|
InputStreamType["CAPTION_CEA608"] = "CAPTION_CEA608";
|
|
19
19
|
InputStreamType["CAPTION_CEA708"] = "CAPTION_CEA708";
|
|
20
20
|
InputStreamType["DVB_SUBTITLE"] = "DVB_SUBTITLE";
|
|
21
|
-
InputStreamType["DVB_TELETEXT"] = "DVB_TELETEXT";
|
|
22
21
|
InputStreamType["DOLBY_ATMOS"] = "DOLBY_ATMOS";
|
|
23
22
|
InputStreamType["DOLBY_VISION"] = "DOLBY_VISION";
|
|
24
23
|
})(InputStreamType || (exports.InputStreamType = InputStreamType = {}));
|
package/dist/models/index.d.ts
CHANGED
|
@@ -323,7 +323,6 @@ export * from './DtsXAudioConfiguration';
|
|
|
323
323
|
export * from './DtsXChannelLayout';
|
|
324
324
|
export * from './DvbSubtitleConfiguration';
|
|
325
325
|
export * from './DvbSubtitleInputStream';
|
|
326
|
-
export * from './DvbTeletextInputStream';
|
|
327
326
|
export * from './Eac3AudioConfiguration';
|
|
328
327
|
export * from './EbuR128SinglePassFilter';
|
|
329
328
|
export * from './EgressCategory';
|
package/dist/models/index.js
CHANGED
|
@@ -339,7 +339,6 @@ __exportStar(require("./DtsXAudioConfiguration"), exports);
|
|
|
339
339
|
__exportStar(require("./DtsXChannelLayout"), exports);
|
|
340
340
|
__exportStar(require("./DvbSubtitleConfiguration"), exports);
|
|
341
341
|
__exportStar(require("./DvbSubtitleInputStream"), exports);
|
|
342
|
-
__exportStar(require("./DvbTeletextInputStream"), exports);
|
|
343
342
|
__exportStar(require("./Eac3AudioConfiguration"), exports);
|
|
344
343
|
__exportStar(require("./EbuR128SinglePassFilter"), exports);
|
|
345
344
|
__exportStar(require("./EgressCategory"), exports);
|
package/package.json
CHANGED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BaseAPI } from '../../../../../common/BaseAPI';
|
|
2
|
-
import Configuration from '../../../../../common/Configuration';
|
|
3
|
-
import BitmovinResponse from '../../../../../models/BitmovinResponse';
|
|
4
|
-
import DvbTeletextInputStream from '../../../../../models/DvbTeletextInputStream';
|
|
5
|
-
import PaginationResponse from '../../../../../models/PaginationResponse';
|
|
6
|
-
import { DvbTeletextInputStreamListQueryParams, DvbTeletextInputStreamListQueryParamsBuilder } from './DvbTeletextInputStreamListQueryParams';
|
|
7
|
-
/**
|
|
8
|
-
* DvbTeletextApi - object-oriented interface
|
|
9
|
-
* @export
|
|
10
|
-
* @class DvbTeletextApi
|
|
11
|
-
* @extends {BaseAPI}
|
|
12
|
-
*/
|
|
13
|
-
export default class DvbTeletextApi extends BaseAPI {
|
|
14
|
-
constructor(configuration: Configuration);
|
|
15
|
-
/**
|
|
16
|
-
* @summary Add DVB-Teletext Input Stream
|
|
17
|
-
* @param {string} encodingId Id of the encoding.
|
|
18
|
-
* @param {DvbTeletextInputStream} dvbTeletextInputStream The DVB-Teletext Input Stream to be created
|
|
19
|
-
* @throws {BitmovinError}
|
|
20
|
-
* @memberof DvbTeletextApi
|
|
21
|
-
*/
|
|
22
|
-
create(encodingId: string, dvbTeletextInputStream?: DvbTeletextInputStream): Promise<DvbTeletextInputStream>;
|
|
23
|
-
/**
|
|
24
|
-
* @summary Delete DVB-Teletext Input Stream
|
|
25
|
-
* @param {string} encodingId Id of the encoding.
|
|
26
|
-
* @param {string} inputStreamId Id of the DVB-Teletext input stream.
|
|
27
|
-
* @throws {BitmovinError}
|
|
28
|
-
* @memberof DvbTeletextApi
|
|
29
|
-
*/
|
|
30
|
-
delete(encodingId: string, inputStreamId: string): Promise<BitmovinResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* @summary DVB-Teletext Input Stream Details
|
|
33
|
-
* @param {string} encodingId Id of the encoding.
|
|
34
|
-
* @param {string} inputStreamId Id of the DVB-Teletext input stream.
|
|
35
|
-
* @throws {BitmovinError}
|
|
36
|
-
* @memberof DvbTeletextApi
|
|
37
|
-
*/
|
|
38
|
-
get(encodingId: string, inputStreamId: string): Promise<DvbTeletextInputStream>;
|
|
39
|
-
/**
|
|
40
|
-
* @summary List DVB-Teletext Input Streams
|
|
41
|
-
* @param {string} encodingId Id of the encoding.
|
|
42
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
43
|
-
* @throws {BitmovinError}
|
|
44
|
-
* @memberof DvbTeletextApi
|
|
45
|
-
*/
|
|
46
|
-
list(encodingId: string, queryParameters?: DvbTeletextInputStreamListQueryParams | ((q: DvbTeletextInputStreamListQueryParamsBuilder) => DvbTeletextInputStreamListQueryParamsBuilder)): Promise<PaginationResponse<DvbTeletextInputStream>>;
|
|
47
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
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 BitmovinResponse_1 = require("../../../../../models/BitmovinResponse");
|
|
21
|
-
var DvbTeletextInputStream_1 = require("../../../../../models/DvbTeletextInputStream");
|
|
22
|
-
var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
|
|
23
|
-
var DvbTeletextInputStreamListQueryParams_1 = require("./DvbTeletextInputStreamListQueryParams");
|
|
24
|
-
/**
|
|
25
|
-
* DvbTeletextApi - object-oriented interface
|
|
26
|
-
* @export
|
|
27
|
-
* @class DvbTeletextApi
|
|
28
|
-
* @extends {BaseAPI}
|
|
29
|
-
*/
|
|
30
|
-
var DvbTeletextApi = /** @class */ (function (_super) {
|
|
31
|
-
__extends(DvbTeletextApi, _super);
|
|
32
|
-
function DvbTeletextApi(configuration) {
|
|
33
|
-
return _super.call(this, configuration) || this;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @summary Add DVB-Teletext Input Stream
|
|
37
|
-
* @param {string} encodingId Id of the encoding.
|
|
38
|
-
* @param {DvbTeletextInputStream} dvbTeletextInputStream The DVB-Teletext Input Stream to be created
|
|
39
|
-
* @throws {BitmovinError}
|
|
40
|
-
* @memberof DvbTeletextApi
|
|
41
|
-
*/
|
|
42
|
-
DvbTeletextApi.prototype.create = function (encodingId, dvbTeletextInputStream) {
|
|
43
|
-
var pathParamMap = {
|
|
44
|
-
encoding_id: encodingId
|
|
45
|
-
};
|
|
46
|
-
return this.restClient.post('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext', pathParamMap, dvbTeletextInputStream).then(function (response) {
|
|
47
|
-
return (0, Mapper_1.map)(response, DvbTeletextInputStream_1.default);
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @summary Delete DVB-Teletext Input Stream
|
|
52
|
-
* @param {string} encodingId Id of the encoding.
|
|
53
|
-
* @param {string} inputStreamId Id of the DVB-Teletext input stream.
|
|
54
|
-
* @throws {BitmovinError}
|
|
55
|
-
* @memberof DvbTeletextApi
|
|
56
|
-
*/
|
|
57
|
-
DvbTeletextApi.prototype.delete = function (encodingId, inputStreamId) {
|
|
58
|
-
var pathParamMap = {
|
|
59
|
-
encoding_id: encodingId,
|
|
60
|
-
input_stream_id: inputStreamId
|
|
61
|
-
};
|
|
62
|
-
return this.restClient.delete('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext/{input_stream_id}', pathParamMap).then(function (response) {
|
|
63
|
-
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* @summary DVB-Teletext Input Stream Details
|
|
68
|
-
* @param {string} encodingId Id of the encoding.
|
|
69
|
-
* @param {string} inputStreamId Id of the DVB-Teletext input stream.
|
|
70
|
-
* @throws {BitmovinError}
|
|
71
|
-
* @memberof DvbTeletextApi
|
|
72
|
-
*/
|
|
73
|
-
DvbTeletextApi.prototype.get = function (encodingId, inputStreamId) {
|
|
74
|
-
var pathParamMap = {
|
|
75
|
-
encoding_id: encodingId,
|
|
76
|
-
input_stream_id: inputStreamId
|
|
77
|
-
};
|
|
78
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext/{input_stream_id}', pathParamMap).then(function (response) {
|
|
79
|
-
return (0, Mapper_1.map)(response, DvbTeletextInputStream_1.default);
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* @summary List DVB-Teletext Input Streams
|
|
84
|
-
* @param {string} encodingId Id of the encoding.
|
|
85
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
86
|
-
* @throws {BitmovinError}
|
|
87
|
-
* @memberof DvbTeletextApi
|
|
88
|
-
*/
|
|
89
|
-
DvbTeletextApi.prototype.list = function (encodingId, queryParameters) {
|
|
90
|
-
var pathParamMap = {
|
|
91
|
-
encoding_id: encodingId
|
|
92
|
-
};
|
|
93
|
-
var queryParams = {};
|
|
94
|
-
if (typeof queryParameters === 'function') {
|
|
95
|
-
queryParams = queryParameters(new DvbTeletextInputStreamListQueryParams_1.DvbTeletextInputStreamListQueryParamsBuilder()).buildQueryParams();
|
|
96
|
-
}
|
|
97
|
-
else if (queryParameters) {
|
|
98
|
-
queryParams = queryParameters;
|
|
99
|
-
}
|
|
100
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext', pathParamMap, queryParams).then(function (response) {
|
|
101
|
-
return new PaginationResponse_1.default(response, DvbTeletextInputStream_1.default);
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
return DvbTeletextApi;
|
|
105
|
-
}(BaseAPI_1.BaseAPI));
|
|
106
|
-
exports.default = DvbTeletextApi;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface DvbTeletextInputStreamListQueryParams {
|
|
2
|
-
/**
|
|
3
|
-
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {number}
|
|
5
|
-
* @memberof DvbTeletextInputStreamListQueryParams
|
|
6
|
-
*/
|
|
7
|
-
offset?: number | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {number}
|
|
11
|
-
* @memberof DvbTeletextInputStreamListQueryParams
|
|
12
|
-
*/
|
|
13
|
-
limit?: number | undefined;
|
|
14
|
-
}
|
|
15
|
-
export declare class DvbTeletextInputStreamListQueryParamsBuilder {
|
|
16
|
-
private internalParams;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
|
-
*/
|
|
21
|
-
offset(offset: number): this;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
|
-
*/
|
|
26
|
-
limit(limit: number): this;
|
|
27
|
-
buildQueryParams(): DvbTeletextInputStreamListQueryParams;
|
|
28
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DvbTeletextInputStreamListQueryParamsBuilder = void 0;
|
|
4
|
-
var DvbTeletextInputStreamListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
-
function DvbTeletextInputStreamListQueryParamsBuilder() {
|
|
6
|
-
this.internalParams = {};
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
-
*/
|
|
12
|
-
DvbTeletextInputStreamListQueryParamsBuilder.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
|
-
DvbTeletextInputStreamListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
-
this.internalParams.limit = limit;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
DvbTeletextInputStreamListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
25
|
-
return this.internalParams;
|
|
26
|
-
};
|
|
27
|
-
return DvbTeletextInputStreamListQueryParamsBuilder;
|
|
28
|
-
}());
|
|
29
|
-
exports.DvbTeletextInputStreamListQueryParamsBuilder = DvbTeletextInputStreamListQueryParamsBuilder;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import InputStream from './InputStream';
|
|
2
|
-
import InputStreamType from './InputStreamType';
|
|
3
|
-
import StreamSelectionMode from './StreamSelectionMode';
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @class DvbTeletextInputStream
|
|
7
|
-
*/
|
|
8
|
-
export declare class DvbTeletextInputStream extends InputStream {
|
|
9
|
-
/**
|
|
10
|
-
* Discriminator property for InputStream
|
|
11
|
-
* @type {string}
|
|
12
|
-
* @memberof DvbTeletextInputStream
|
|
13
|
-
*/
|
|
14
|
-
readonly type: InputStreamType;
|
|
15
|
-
/**
|
|
16
|
-
* ID of an Input resource defining the input storage
|
|
17
|
-
* @type {string}
|
|
18
|
-
* @memberof DvbTeletextInputStream
|
|
19
|
-
*/
|
|
20
|
-
inputId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Path to an input media file
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof DvbTeletextInputStream
|
|
25
|
-
*/
|
|
26
|
-
inputPath?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the strategy for selecting a stream from the input file
|
|
29
|
-
* @type {StreamSelectionMode}
|
|
30
|
-
* @memberof DvbTeletextInputStream
|
|
31
|
-
*/
|
|
32
|
-
selectionMode?: StreamSelectionMode;
|
|
33
|
-
/**
|
|
34
|
-
* Position of the stream to be selected from the input file (zero-based). Must not be set in combination with selectionMode 'AUTO', defaults to 0 for any other selectionMode.
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @memberof DvbTeletextInputStream
|
|
37
|
-
*/
|
|
38
|
-
position?: number;
|
|
39
|
-
/**
|
|
40
|
-
* Page number of the subtitles
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof DvbTeletextInputStream
|
|
43
|
-
*/
|
|
44
|
-
page?: number;
|
|
45
|
-
constructor(obj?: Partial<DvbTeletextInputStream>);
|
|
46
|
-
}
|
|
47
|
-
export default DvbTeletextInputStream;
|
|
@@ -1,49 +0,0 @@
|
|
|
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.DvbTeletextInputStream = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var InputStream_1 = require("./InputStream");
|
|
21
|
-
var InputStreamType_1 = require("./InputStreamType");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @class DvbTeletextInputStream
|
|
25
|
-
*/
|
|
26
|
-
var DvbTeletextInputStream = /** @class */ (function (_super) {
|
|
27
|
-
__extends(DvbTeletextInputStream, _super);
|
|
28
|
-
function DvbTeletextInputStream(obj) {
|
|
29
|
-
var _this = _super.call(this, obj) || this;
|
|
30
|
-
/**
|
|
31
|
-
* Discriminator property for InputStream
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DvbTeletextInputStream
|
|
34
|
-
*/
|
|
35
|
-
_this.type = InputStreamType_1.default.DVB_TELETEXT;
|
|
36
|
-
if (!obj) {
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
_this.inputId = (0, Mapper_1.map)(obj.inputId);
|
|
40
|
-
_this.inputPath = (0, Mapper_1.map)(obj.inputPath);
|
|
41
|
-
_this.selectionMode = (0, Mapper_1.map)(obj.selectionMode);
|
|
42
|
-
_this.position = (0, Mapper_1.map)(obj.position);
|
|
43
|
-
_this.page = (0, Mapper_1.map)(obj.page);
|
|
44
|
-
return _this;
|
|
45
|
-
}
|
|
46
|
-
return DvbTeletextInputStream;
|
|
47
|
-
}(InputStream_1.default));
|
|
48
|
-
exports.DvbTeletextInputStream = DvbTeletextInputStream;
|
|
49
|
-
exports.default = DvbTeletextInputStream;
|