@bitmovin/api-sdk 1.193.0 → 1.195.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 +491 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
- package/dist/encoding/encodings/live/LiveApi.js +2 -0
- package/dist/encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.d.ts +20 -0
- package/dist/encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.js +49 -0
- package/dist/encoding/filters/FiltersApi.d.ts +2 -0
- package/dist/encoding/filters/FiltersApi.js +2 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.d.ts +45 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.js +97 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.d.ts +39 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.js +37 -0
- package/dist/encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.d.ts +19 -0
- package/dist/encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.js +48 -0
- package/dist/models/AzureSpeechServicesCredentials.d.ts +14 -0
- package/dist/models/AzureSpeechServicesCredentials.js +19 -0
- package/dist/models/AzureSpeechToCaptionsFilter.d.ts +22 -0
- package/dist/models/AzureSpeechToCaptionsFilter.js +46 -0
- package/dist/models/AzureSpeechToCaptionsProfanity.d.ts +10 -0
- package/dist/models/AzureSpeechToCaptionsProfanity.js +14 -0
- package/dist/models/AzureSpeechToCaptionsSettings.d.ts +64 -0
- package/dist/models/AzureSpeechToCaptionsSettings.js +28 -0
- package/dist/models/ChunkedTextMuxing.d.ts +1 -1
- package/dist/models/CloudRegion.d.ts +2 -0
- package/dist/models/CloudRegion.js +2 -0
- package/dist/models/CmafMuxing.d.ts +1 -1
- package/dist/models/Filter.d.ts +2 -1
- package/dist/models/Filter.js +2 -1
- package/dist/models/FilterType.d.ts +2 -1
- package/dist/models/FilterType.js +1 -0
- package/dist/models/Fmp4Muxing.d.ts +1 -1
- package/dist/models/PackedAudioMuxing.d.ts +1 -1
- package/dist/models/ResetLiveManifestTimeShift.d.ts +21 -0
- package/dist/models/ResetLiveManifestTimeShift.js +39 -0
- package/dist/models/TsMuxing.d.ts +1 -1
- package/dist/models/WebmMuxing.d.ts +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AzureSpeechToCaptionsSettings = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var AzureSpeechServicesCredentials_1 = require("./AzureSpeechServicesCredentials");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class AzureSpeechToCaptionsSettings
|
|
9
|
+
*/
|
|
10
|
+
var AzureSpeechToCaptionsSettings = /** @class */ (function () {
|
|
11
|
+
function AzureSpeechToCaptionsSettings(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.azureSpeechServicesCredentials = (0, Mapper_1.map)(obj.azureSpeechServicesCredentials, AzureSpeechServicesCredentials_1.default);
|
|
16
|
+
this.region = (0, Mapper_1.map)(obj.region);
|
|
17
|
+
this.apiEndpoint = (0, Mapper_1.map)(obj.apiEndpoint);
|
|
18
|
+
this.language = (0, Mapper_1.map)(obj.language);
|
|
19
|
+
this.captionDelay = (0, Mapper_1.map)(obj.captionDelay);
|
|
20
|
+
this.captionRemainTime = (0, Mapper_1.map)(obj.captionRemainTime);
|
|
21
|
+
this.captionMaxLineLength = (0, Mapper_1.map)(obj.captionMaxLineLength);
|
|
22
|
+
this.captionLines = (0, Mapper_1.map)(obj.captionLines);
|
|
23
|
+
this.profanityOption = (0, Mapper_1.map)(obj.profanityOption);
|
|
24
|
+
}
|
|
25
|
+
return AzureSpeechToCaptionsSettings;
|
|
26
|
+
}());
|
|
27
|
+
exports.AzureSpeechToCaptionsSettings = AzureSpeechToCaptionsSettings;
|
|
28
|
+
exports.default = AzureSpeechToCaptionsSettings;
|
|
@@ -24,7 +24,7 @@ export declare class ChunkedTextMuxing extends Muxing {
|
|
|
24
24
|
*/
|
|
25
25
|
segmentNaming?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Segment naming
|
|
27
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof ChunkedTextMuxing
|
|
30
30
|
*/
|
|
@@ -65,6 +65,8 @@ export declare enum CloudRegion {
|
|
|
65
65
|
AKAMAI_FR_PAR = "AKAMAI_FR_PAR",
|
|
66
66
|
AKAMAI_JP_OSA = "AKAMAI_JP_OSA",
|
|
67
67
|
AKAMAI_US_SEA = "AKAMAI_US_SEA",
|
|
68
|
+
OCI_EU_FRANKFURT_1 = "OCI_EU_FRANKFURT_1",
|
|
69
|
+
OCI_US_ASHBURN_1 = "OCI_US_ASHBURN_1",
|
|
68
70
|
NORTH_AMERICA = "NORTH_AMERICA",
|
|
69
71
|
SOUTH_AMERICA = "SOUTH_AMERICA",
|
|
70
72
|
EUROPE = "EUROPE",
|
|
@@ -69,6 +69,8 @@ var CloudRegion;
|
|
|
69
69
|
CloudRegion["AKAMAI_FR_PAR"] = "AKAMAI_FR_PAR";
|
|
70
70
|
CloudRegion["AKAMAI_JP_OSA"] = "AKAMAI_JP_OSA";
|
|
71
71
|
CloudRegion["AKAMAI_US_SEA"] = "AKAMAI_US_SEA";
|
|
72
|
+
CloudRegion["OCI_EU_FRANKFURT_1"] = "OCI_EU_FRANKFURT_1";
|
|
73
|
+
CloudRegion["OCI_US_ASHBURN_1"] = "OCI_US_ASHBURN_1";
|
|
72
74
|
CloudRegion["NORTH_AMERICA"] = "NORTH_AMERICA";
|
|
73
75
|
CloudRegion["SOUTH_AMERICA"] = "SOUTH_AMERICA";
|
|
74
76
|
CloudRegion["EUROPE"] = "EUROPE";
|
|
@@ -24,7 +24,7 @@ export declare class CmafMuxing extends Muxing {
|
|
|
24
24
|
*/
|
|
25
25
|
segmentNaming?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Segment naming policy containing
|
|
27
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CmafMuxing
|
|
30
30
|
*/
|
package/dist/models/Filter.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import AudioMixFilter from './AudioMixFilter';
|
|
2
2
|
import AudioVolumeFilter from './AudioVolumeFilter';
|
|
3
|
+
import AzureSpeechToCaptionsFilter from './AzureSpeechToCaptionsFilter';
|
|
3
4
|
import BitmovinResource from './BitmovinResource';
|
|
4
5
|
import ConformFilter from './ConformFilter';
|
|
5
6
|
import CropFilter from './CropFilter';
|
|
@@ -15,7 +16,7 @@ import ScaleFilter from './ScaleFilter';
|
|
|
15
16
|
import TextFilter from './TextFilter';
|
|
16
17
|
import UnsharpFilter from './UnsharpFilter';
|
|
17
18
|
import WatermarkFilter from './WatermarkFilter';
|
|
18
|
-
export type FilterUnion = CropFilter | ConformFilter | WatermarkFilter | EnhancedWatermarkFilter | RotateFilter | DeinterlaceFilter | EnhancedDeinterlaceFilter | AudioMixFilter | DenoiseHqdn3dFilter | TextFilter | UnsharpFilter | ScaleFilter | InterlaceFilter | AudioVolumeFilter | EbuR128SinglePassFilter;
|
|
19
|
+
export type FilterUnion = CropFilter | ConformFilter | WatermarkFilter | EnhancedWatermarkFilter | RotateFilter | DeinterlaceFilter | EnhancedDeinterlaceFilter | AudioMixFilter | DenoiseHqdn3dFilter | TextFilter | UnsharpFilter | ScaleFilter | InterlaceFilter | AudioVolumeFilter | EbuR128SinglePassFilter | AzureSpeechToCaptionsFilter;
|
|
19
20
|
/**
|
|
20
21
|
* @export
|
|
21
22
|
* @class Filter
|
package/dist/models/Filter.js
CHANGED
|
@@ -46,7 +46,8 @@ var Filter = /** @class */ (function (_super) {
|
|
|
46
46
|
SCALE: 'ScaleFilter',
|
|
47
47
|
INTERLACE: 'InterlaceFilter',
|
|
48
48
|
AUDIO_VOLUME: 'AudioVolumeFilter',
|
|
49
|
-
EBU_R128_SINGLE_PASS: 'EbuR128SinglePassFilter'
|
|
49
|
+
EBU_R128_SINGLE_PASS: 'EbuR128SinglePassFilter',
|
|
50
|
+
AZURE_SPEECH_TO_CAPTIONS: 'AzureSpeechToCaptionsFilter'
|
|
50
51
|
};
|
|
51
52
|
return Filter;
|
|
52
53
|
}(BitmovinResource_1.default));
|
|
@@ -17,6 +17,7 @@ export declare enum FilterType {
|
|
|
17
17
|
SCALE = "SCALE",
|
|
18
18
|
INTERLACE = "INTERLACE",
|
|
19
19
|
AUDIO_VOLUME = "AUDIO_VOLUME",
|
|
20
|
-
EBU_R128_SINGLE_PASS = "EBU_R128_SINGLE_PASS"
|
|
20
|
+
EBU_R128_SINGLE_PASS = "EBU_R128_SINGLE_PASS",
|
|
21
|
+
AZURE_SPEECH_TO_CAPTIONS = "AZURE_SPEECH_TO_CAPTIONS"
|
|
21
22
|
}
|
|
22
23
|
export default FilterType;
|
|
@@ -22,5 +22,6 @@ var FilterType;
|
|
|
22
22
|
FilterType["INTERLACE"] = "INTERLACE";
|
|
23
23
|
FilterType["AUDIO_VOLUME"] = "AUDIO_VOLUME";
|
|
24
24
|
FilterType["EBU_R128_SINGLE_PASS"] = "EBU_R128_SINGLE_PASS";
|
|
25
|
+
FilterType["AZURE_SPEECH_TO_CAPTIONS"] = "AZURE_SPEECH_TO_CAPTIONS";
|
|
25
26
|
})(FilterType || (exports.FilterType = FilterType = {}));
|
|
26
27
|
exports.default = FilterType;
|
|
@@ -25,7 +25,7 @@ export declare class Fmp4Muxing extends Muxing {
|
|
|
25
25
|
*/
|
|
26
26
|
segmentNaming?: string;
|
|
27
27
|
/**
|
|
28
|
-
* Segment naming policy containing
|
|
28
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof Fmp4Muxing
|
|
31
31
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class PackedAudioMuxing extends Muxing {
|
|
|
24
24
|
*/
|
|
25
25
|
segmentNaming?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Segment naming policy containing
|
|
27
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set. The required filename extension depends on the codec (e.g. '.aac' for AAC).
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof PackedAudioMuxing
|
|
30
30
|
*/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import BitmovinResponse from './BitmovinResponse';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class ResetLiveManifestTimeShift
|
|
5
|
+
*/
|
|
6
|
+
export declare class ResetLiveManifestTimeShift extends BitmovinResponse {
|
|
7
|
+
/**
|
|
8
|
+
* Determines how many seconds will be left in the manifest after segments are removed. If this is not set, all but one segment will be removed.
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof ResetLiveManifestTimeShift
|
|
11
|
+
*/
|
|
12
|
+
residualPeriodInSeconds?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The ids of the manifests to update. If this property is not set, all manifests tied to the encoding are updated.
|
|
15
|
+
* @type {string[]}
|
|
16
|
+
* @memberof ResetLiveManifestTimeShift
|
|
17
|
+
*/
|
|
18
|
+
manifestIds?: string[];
|
|
19
|
+
constructor(obj?: Partial<ResetLiveManifestTimeShift>);
|
|
20
|
+
}
|
|
21
|
+
export default ResetLiveManifestTimeShift;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ResetLiveManifestTimeShift = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResponse_1 = require("./BitmovinResponse");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class ResetLiveManifestTimeShift
|
|
24
|
+
*/
|
|
25
|
+
var ResetLiveManifestTimeShift = /** @class */ (function (_super) {
|
|
26
|
+
__extends(ResetLiveManifestTimeShift, _super);
|
|
27
|
+
function ResetLiveManifestTimeShift(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.residualPeriodInSeconds = (0, Mapper_1.map)(obj.residualPeriodInSeconds);
|
|
33
|
+
_this.manifestIds = (0, Mapper_1.mapArray)(obj.manifestIds);
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
return ResetLiveManifestTimeShift;
|
|
37
|
+
}(BitmovinResponse_1.default));
|
|
38
|
+
exports.ResetLiveManifestTimeShift = ResetLiveManifestTimeShift;
|
|
39
|
+
exports.default = ResetLiveManifestTimeShift;
|
|
@@ -25,7 +25,7 @@ export declare class TsMuxing extends Muxing {
|
|
|
25
25
|
*/
|
|
26
26
|
segmentNaming?: string;
|
|
27
27
|
/**
|
|
28
|
-
* Segment naming policy containing
|
|
28
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof TsMuxing
|
|
31
31
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class WebmMuxing extends Muxing {
|
|
|
24
24
|
*/
|
|
25
25
|
segmentNaming?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Segment naming policy containing
|
|
27
|
+
* Segment naming policy containing one or both of the following placeholders: - '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. - '{segment_rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) for each different segment. This is intended to avoid guessing segment URLs by replacing segment numbers. If segmentNamingTemplate is set, segmentNaming must not be set.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof WebmMuxing
|
|
30
30
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -147,6 +147,10 @@ export * from './AzureAccountRegionSettings';
|
|
|
147
147
|
export * from './AzureCloudRegion';
|
|
148
148
|
export * from './AzureInput';
|
|
149
149
|
export * from './AzureOutput';
|
|
150
|
+
export * from './AzureSpeechServicesCredentials';
|
|
151
|
+
export * from './AzureSpeechToCaptionsFilter';
|
|
152
|
+
export * from './AzureSpeechToCaptionsProfanity';
|
|
153
|
+
export * from './AzureSpeechToCaptionsSettings';
|
|
150
154
|
export * from './BAdapt';
|
|
151
155
|
export * from './BackupSrtInputs';
|
|
152
156
|
export * from './BasicMediaInfo';
|
|
@@ -587,6 +591,7 @@ export * from './RawId3Tag';
|
|
|
587
591
|
export * from './RedundantRtmpInput';
|
|
588
592
|
export * from './ReprioritizeEncodingRequest';
|
|
589
593
|
export * from './RescheduleEncodingRequest';
|
|
594
|
+
export * from './ResetLiveManifestTimeShift';
|
|
590
595
|
export * from './ResourceLimit';
|
|
591
596
|
export * from './ResourceLimitContainer';
|
|
592
597
|
export * from './ResourceType';
|
package/dist/models/index.js
CHANGED
|
@@ -163,6 +163,10 @@ __exportStar(require("./AzureAccountRegionSettings"), exports);
|
|
|
163
163
|
__exportStar(require("./AzureCloudRegion"), exports);
|
|
164
164
|
__exportStar(require("./AzureInput"), exports);
|
|
165
165
|
__exportStar(require("./AzureOutput"), exports);
|
|
166
|
+
__exportStar(require("./AzureSpeechServicesCredentials"), exports);
|
|
167
|
+
__exportStar(require("./AzureSpeechToCaptionsFilter"), exports);
|
|
168
|
+
__exportStar(require("./AzureSpeechToCaptionsProfanity"), exports);
|
|
169
|
+
__exportStar(require("./AzureSpeechToCaptionsSettings"), exports);
|
|
166
170
|
__exportStar(require("./BAdapt"), exports);
|
|
167
171
|
__exportStar(require("./BackupSrtInputs"), exports);
|
|
168
172
|
__exportStar(require("./BasicMediaInfo"), exports);
|
|
@@ -603,6 +607,7 @@ __exportStar(require("./RawId3Tag"), exports);
|
|
|
603
607
|
__exportStar(require("./RedundantRtmpInput"), exports);
|
|
604
608
|
__exportStar(require("./ReprioritizeEncodingRequest"), exports);
|
|
605
609
|
__exportStar(require("./RescheduleEncodingRequest"), exports);
|
|
610
|
+
__exportStar(require("./ResetLiveManifestTimeShift"), exports);
|
|
606
611
|
__exportStar(require("./ResourceLimit"), exports);
|
|
607
612
|
__exportStar(require("./ResourceLimitContainer"), exports);
|
|
608
613
|
__exportStar(require("./ResourceType"), exports);
|