@bitmovin/api-sdk 1.280.0 → 1.282.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/aiSceneAnalysis/AiSceneAnalysisApi.d.ts +2 -0
- package/dist/aiSceneAnalysis/AiSceneAnalysisApi.js +2 -0
- package/dist/aiSceneAnalysis/liveAnalyses/AiSceneAnalysisLiveResponseListQueryParams.d.ts +28 -0
- package/dist/aiSceneAnalysis/liveAnalyses/AiSceneAnalysisLiveResponseListQueryParams.js +28 -0
- package/dist/aiSceneAnalysis/liveAnalyses/LiveAnalysesApi.d.ts +60 -0
- package/dist/aiSceneAnalysis/liveAnalyses/LiveAnalysesApi.js +107 -0
- package/dist/aiSceneAnalysis/liveAnalyses/results/ResultsApi.d.ts +13 -0
- package/dist/aiSceneAnalysis/liveAnalyses/results/ResultsApi.js +17 -0
- package/dist/aiSceneAnalysis/liveAnalyses/results/latest/LatestApi.d.ts +19 -0
- package/dist/aiSceneAnalysis/liveAnalyses/results/latest/LatestApi.js +31 -0
- package/dist/bitmovin-api-sdk.browser.js +818 -1
- 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/updateAutoshutdownConfig/UpdateAutoshutdownConfigApi.d.ts +21 -0
- package/dist/encoding/encodings/live/updateAutoshutdownConfig/UpdateAutoshutdownConfigApi.js +32 -0
- package/dist/models/AiSceneAnalysisLiveCreateRequest.d.ts +42 -0
- package/dist/models/AiSceneAnalysisLiveCreateRequest.js +25 -0
- package/dist/models/AiSceneAnalysisLiveError.d.ts +26 -0
- package/dist/models/AiSceneAnalysisLiveError.js +20 -0
- package/dist/models/AiSceneAnalysisLiveObservation.d.ts +33 -0
- package/dist/models/AiSceneAnalysisLiveObservation.js +22 -0
- package/dist/models/AiSceneAnalysisLiveOutput.d.ts +34 -0
- package/dist/models/AiSceneAnalysisLiveOutput.js +23 -0
- package/dist/models/AiSceneAnalysisLiveRecording.d.ts +16 -0
- package/dist/models/AiSceneAnalysisLiveRecording.js +20 -0
- package/dist/models/AiSceneAnalysisLiveRecordingRequest.d.ts +15 -0
- package/dist/models/AiSceneAnalysisLiveRecordingRequest.js +19 -0
- package/dist/models/AiSceneAnalysisLiveResponse.d.ts +67 -0
- package/dist/models/AiSceneAnalysisLiveResponse.js +30 -0
- package/dist/models/AiSceneAnalysisLiveResult.d.ts +78 -0
- package/dist/models/AiSceneAnalysisLiveResult.js +32 -0
- package/dist/models/AiSceneAnalysisLiveResultMetadata.d.ts +20 -0
- package/dist/models/AiSceneAnalysisLiveResultMetadata.js +19 -0
- package/dist/models/AiSceneAnalysisLiveSourceGap.d.ts +27 -0
- package/dist/models/AiSceneAnalysisLiveSourceGap.js +20 -0
- package/dist/models/AiSceneAnalysisLiveSourceGapReason.d.ts +12 -0
- package/dist/models/AiSceneAnalysisLiveSourceGapReason.js +16 -0
- package/dist/models/AiSceneAnalysisLiveStatus.d.ts +14 -0
- package/dist/models/AiSceneAnalysisLiveStatus.js +18 -0
- package/dist/models/Av1DynamicRangeFormat.d.ts +12 -0
- package/dist/models/Av1DynamicRangeFormat.js +16 -0
- package/dist/models/Av1VideoConfiguration.d.ts +14 -0
- package/dist/models/Av1VideoConfiguration.js +2 -0
- package/dist/models/H265V2PresetConfiguration.d.ts +2 -0
- package/dist/models/H265V2PresetConfiguration.js +2 -0
- package/dist/models/LevelAv1.d.ts +22 -0
- package/dist/models/LevelAv1.js +26 -0
- package/dist/models/LiveAutoShutdownConfigurationUpdateRequest.d.ts +10 -0
- package/dist/models/LiveAutoShutdownConfigurationUpdateRequest.js +19 -0
- package/dist/models/LiveAutoShutdownConfigurationUpdateResponse.d.ts +16 -0
- package/dist/models/LiveAutoShutdownConfigurationUpdateResponse.js +21 -0
- package/dist/models/StreamMetadata.d.ts +8 -2
- package/dist/models/StreamMetadata.js +1 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiSceneAnalysisLiveResultMetadata = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class AiSceneAnalysisLiveResultMetadata
|
|
8
|
+
*/
|
|
9
|
+
class AiSceneAnalysisLiveResultMetadata {
|
|
10
|
+
constructor(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.version = (0, Mapper_1.map)(obj.version);
|
|
15
|
+
this.disclaimer = (0, Mapper_1.map)(obj.disclaimer);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AiSceneAnalysisLiveResultMetadata = AiSceneAnalysisLiveResultMetadata;
|
|
19
|
+
exports.default = AiSceneAnalysisLiveResultMetadata;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import AiSceneAnalysisLiveSourceGapReason from './AiSceneAnalysisLiveSourceGapReason';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class AiSceneAnalysisLiveSourceGap
|
|
5
|
+
*/
|
|
6
|
+
export declare class AiSceneAnalysisLiveSourceGap {
|
|
7
|
+
/**
|
|
8
|
+
* Gap start on the monotonic analysis timeline (required)
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof AiSceneAnalysisLiveSourceGap
|
|
11
|
+
*/
|
|
12
|
+
startTimeSeconds?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Gap end on the monotonic analysis timeline (required)
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof AiSceneAnalysisLiveSourceGap
|
|
17
|
+
*/
|
|
18
|
+
endTimeSeconds?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Reason for the source gap (required)
|
|
21
|
+
* @type {AiSceneAnalysisLiveSourceGapReason}
|
|
22
|
+
* @memberof AiSceneAnalysisLiveSourceGap
|
|
23
|
+
*/
|
|
24
|
+
reason?: AiSceneAnalysisLiveSourceGapReason;
|
|
25
|
+
constructor(obj?: Partial<AiSceneAnalysisLiveSourceGap>);
|
|
26
|
+
}
|
|
27
|
+
export default AiSceneAnalysisLiveSourceGap;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiSceneAnalysisLiveSourceGap = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class AiSceneAnalysisLiveSourceGap
|
|
8
|
+
*/
|
|
9
|
+
class AiSceneAnalysisLiveSourceGap {
|
|
10
|
+
constructor(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.startTimeSeconds = (0, Mapper_1.map)(obj.startTimeSeconds);
|
|
15
|
+
this.endTimeSeconds = (0, Mapper_1.map)(obj.endTimeSeconds);
|
|
16
|
+
this.reason = (0, Mapper_1.map)(obj.reason);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AiSceneAnalysisLiveSourceGap = AiSceneAnalysisLiveSourceGap;
|
|
20
|
+
exports.default = AiSceneAnalysisLiveSourceGap;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AiSceneAnalysisLiveSourceGapReason {
|
|
6
|
+
SOURCE_DISCONNECTED = "SOURCE_DISCONNECTED",
|
|
7
|
+
PROCESSING_MEDIA_PRESSURE = "PROCESSING_MEDIA_PRESSURE",
|
|
8
|
+
ANALYSIS_LAG = "ANALYSIS_LAG",
|
|
9
|
+
WINDOW_BUILD_FAILED = "WINDOW_BUILD_FAILED",
|
|
10
|
+
FINALIZATION_BACKLOG = "FINALIZATION_BACKLOG"
|
|
11
|
+
}
|
|
12
|
+
export default AiSceneAnalysisLiveSourceGapReason;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiSceneAnalysisLiveSourceGapReason = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AiSceneAnalysisLiveSourceGapReason;
|
|
9
|
+
(function (AiSceneAnalysisLiveSourceGapReason) {
|
|
10
|
+
AiSceneAnalysisLiveSourceGapReason["SOURCE_DISCONNECTED"] = "SOURCE_DISCONNECTED";
|
|
11
|
+
AiSceneAnalysisLiveSourceGapReason["PROCESSING_MEDIA_PRESSURE"] = "PROCESSING_MEDIA_PRESSURE";
|
|
12
|
+
AiSceneAnalysisLiveSourceGapReason["ANALYSIS_LAG"] = "ANALYSIS_LAG";
|
|
13
|
+
AiSceneAnalysisLiveSourceGapReason["WINDOW_BUILD_FAILED"] = "WINDOW_BUILD_FAILED";
|
|
14
|
+
AiSceneAnalysisLiveSourceGapReason["FINALIZATION_BACKLOG"] = "FINALIZATION_BACKLOG";
|
|
15
|
+
})(AiSceneAnalysisLiveSourceGapReason || (exports.AiSceneAnalysisLiveSourceGapReason = AiSceneAnalysisLiveSourceGapReason = {}));
|
|
16
|
+
exports.default = AiSceneAnalysisLiveSourceGapReason;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AiSceneAnalysisLiveStatus {
|
|
6
|
+
CREATED = "CREATED",
|
|
7
|
+
QUEUED = "QUEUED",
|
|
8
|
+
RUNNING = "RUNNING",
|
|
9
|
+
FINISHED = "FINISHED",
|
|
10
|
+
CANCELED = "CANCELED",
|
|
11
|
+
ERROR = "ERROR",
|
|
12
|
+
TRANSFER_ERROR = "TRANSFER_ERROR"
|
|
13
|
+
}
|
|
14
|
+
export default AiSceneAnalysisLiveStatus;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiSceneAnalysisLiveStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AiSceneAnalysisLiveStatus;
|
|
9
|
+
(function (AiSceneAnalysisLiveStatus) {
|
|
10
|
+
AiSceneAnalysisLiveStatus["CREATED"] = "CREATED";
|
|
11
|
+
AiSceneAnalysisLiveStatus["QUEUED"] = "QUEUED";
|
|
12
|
+
AiSceneAnalysisLiveStatus["RUNNING"] = "RUNNING";
|
|
13
|
+
AiSceneAnalysisLiveStatus["FINISHED"] = "FINISHED";
|
|
14
|
+
AiSceneAnalysisLiveStatus["CANCELED"] = "CANCELED";
|
|
15
|
+
AiSceneAnalysisLiveStatus["ERROR"] = "ERROR";
|
|
16
|
+
AiSceneAnalysisLiveStatus["TRANSFER_ERROR"] = "TRANSFER_ERROR";
|
|
17
|
+
})(AiSceneAnalysisLiveStatus || (exports.AiSceneAnalysisLiveStatus = AiSceneAnalysisLiveStatus = {}));
|
|
18
|
+
exports.default = AiSceneAnalysisLiveStatus;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configures what kind of dynamic range the output should conform to. Can be used to convert between different HDR formats.
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum Av1DynamicRangeFormat {
|
|
7
|
+
DOLBY_VISION_PROFILE_10_0 = "DOLBY_VISION_PROFILE_10_0",
|
|
8
|
+
DOLBY_VISION_PROFILE_10_1 = "DOLBY_VISION_PROFILE_10_1",
|
|
9
|
+
HDR10 = "HDR10",
|
|
10
|
+
SDR = "SDR"
|
|
11
|
+
}
|
|
12
|
+
export default Av1DynamicRangeFormat;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Av1DynamicRangeFormat = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Configures what kind of dynamic range the output should conform to. Can be used to convert between different HDR formats.
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var Av1DynamicRangeFormat;
|
|
10
|
+
(function (Av1DynamicRangeFormat) {
|
|
11
|
+
Av1DynamicRangeFormat["DOLBY_VISION_PROFILE_10_0"] = "DOLBY_VISION_PROFILE_10_0";
|
|
12
|
+
Av1DynamicRangeFormat["DOLBY_VISION_PROFILE_10_1"] = "DOLBY_VISION_PROFILE_10_1";
|
|
13
|
+
Av1DynamicRangeFormat["HDR10"] = "HDR10";
|
|
14
|
+
Av1DynamicRangeFormat["SDR"] = "SDR";
|
|
15
|
+
})(Av1DynamicRangeFormat || (exports.Av1DynamicRangeFormat = Av1DynamicRangeFormat = {}));
|
|
16
|
+
exports.default = Av1DynamicRangeFormat;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import AutoLevelSetup from './AutoLevelSetup';
|
|
2
|
+
import Av1DynamicRangeFormat from './Av1DynamicRangeFormat';
|
|
2
3
|
import Av1PresetConfiguration from './Av1PresetConfiguration';
|
|
3
4
|
import CodecConfigType from './CodecConfigType';
|
|
5
|
+
import LevelAv1 from './LevelAv1';
|
|
4
6
|
import VideoConfiguration from './VideoConfiguration';
|
|
5
7
|
/**
|
|
6
8
|
* @export
|
|
@@ -25,6 +27,18 @@ export declare class Av1VideoConfiguration extends VideoConfiguration {
|
|
|
25
27
|
* @memberof Av1VideoConfiguration
|
|
26
28
|
*/
|
|
27
29
|
autoLevelSetup?: AutoLevelSetup;
|
|
30
|
+
/**
|
|
31
|
+
* Upper bound for the automatically calculated level. The level determined by autoLevelSetup is clamped to this value, so the encoder never signals a level higher than the one given here. If the target bitrate does not fit within this level, the encoder constrains the bitrate distribution to stay conformant rather than raising the level. Has no effect when autoLevelSetup is disabled.
|
|
32
|
+
* @type {LevelAv1}
|
|
33
|
+
* @memberof Av1VideoConfiguration
|
|
34
|
+
*/
|
|
35
|
+
maxLevel?: LevelAv1;
|
|
36
|
+
/**
|
|
37
|
+
* Configures what kind of dynamic range the output should conform to.
|
|
38
|
+
* @type {Av1DynamicRangeFormat}
|
|
39
|
+
* @memberof Av1VideoConfiguration
|
|
40
|
+
*/
|
|
41
|
+
dynamicRangeFormat?: Av1DynamicRangeFormat;
|
|
28
42
|
/**
|
|
29
43
|
* Set the mastering display color volume metadata. The chromaticity coordinates for the green (G), blue (B), red (R) primaries and the white point (WP) are given in increments of 0.00002 (i.e. multiply the actual value by 50000), and the luminance values (L) are given in increments of 0.0001 cd/m² (i.e. multiply the actual value by 10000). For example `G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)` describes a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001). Part of HDR-10 metadata.
|
|
30
44
|
* @type {string}
|
|
@@ -22,6 +22,8 @@ class Av1VideoConfiguration extends VideoConfiguration_1.default {
|
|
|
22
22
|
}
|
|
23
23
|
this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
|
|
24
24
|
this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
|
|
25
|
+
this.maxLevel = (0, Mapper_1.map)(obj.maxLevel);
|
|
26
|
+
this.dynamicRangeFormat = (0, Mapper_1.map)(obj.dynamicRangeFormat);
|
|
25
27
|
this.masterDisplay = (0, Mapper_1.map)(obj.masterDisplay);
|
|
26
28
|
this.maxContentLightLevel = (0, Mapper_1.map)(obj.maxContentLightLevel);
|
|
27
29
|
this.maxPictureAverageLightLevel = (0, Mapper_1.map)(obj.maxPictureAverageLightLevel);
|
|
@@ -7,6 +7,8 @@ exports.H265V2PresetConfiguration = void 0;
|
|
|
7
7
|
*/
|
|
8
8
|
var H265V2PresetConfiguration;
|
|
9
9
|
(function (H265V2PresetConfiguration) {
|
|
10
|
+
H265V2PresetConfiguration["VOD_SPEED"] = "VOD_SPEED";
|
|
11
|
+
H265V2PresetConfiguration["VOD_STANDARD"] = "VOD_STANDARD";
|
|
10
12
|
H265V2PresetConfiguration["VOD_QUALITY"] = "VOD_QUALITY";
|
|
11
13
|
H265V2PresetConfiguration["VOD_HIGH_QUALITY"] = "VOD_HIGH_QUALITY";
|
|
12
14
|
})(H265V2PresetConfiguration || (exports.H265V2PresetConfiguration = H265V2PresetConfiguration = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specified set of constraints that indicate a degree of required decoder performance for a profile, see: https://aomediacodec.github.io/av1-spec/av1-spec.pdf (Annex A.3)
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum LevelAv1 {
|
|
7
|
+
L2_0 = "2.0",
|
|
8
|
+
L2_1 = "2.1",
|
|
9
|
+
L3_0 = "3.0",
|
|
10
|
+
L3_1 = "3.1",
|
|
11
|
+
L4_0 = "4.0",
|
|
12
|
+
L4_1 = "4.1",
|
|
13
|
+
L5_0 = "5.0",
|
|
14
|
+
L5_1 = "5.1",
|
|
15
|
+
L5_2 = "5.2",
|
|
16
|
+
L5_3 = "5.3",
|
|
17
|
+
L6_0 = "6.0",
|
|
18
|
+
L6_1 = "6.1",
|
|
19
|
+
L6_2 = "6.2",
|
|
20
|
+
L6_3 = "6.3"
|
|
21
|
+
}
|
|
22
|
+
export default LevelAv1;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LevelAv1 = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Specified set of constraints that indicate a degree of required decoder performance for a profile, see: https://aomediacodec.github.io/av1-spec/av1-spec.pdf (Annex A.3)
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var LevelAv1;
|
|
10
|
+
(function (LevelAv1) {
|
|
11
|
+
LevelAv1["L2_0"] = "2.0";
|
|
12
|
+
LevelAv1["L2_1"] = "2.1";
|
|
13
|
+
LevelAv1["L3_0"] = "3.0";
|
|
14
|
+
LevelAv1["L3_1"] = "3.1";
|
|
15
|
+
LevelAv1["L4_0"] = "4.0";
|
|
16
|
+
LevelAv1["L4_1"] = "4.1";
|
|
17
|
+
LevelAv1["L5_0"] = "5.0";
|
|
18
|
+
LevelAv1["L5_1"] = "5.1";
|
|
19
|
+
LevelAv1["L5_2"] = "5.2";
|
|
20
|
+
LevelAv1["L5_3"] = "5.3";
|
|
21
|
+
LevelAv1["L6_0"] = "6.0";
|
|
22
|
+
LevelAv1["L6_1"] = "6.1";
|
|
23
|
+
LevelAv1["L6_2"] = "6.2";
|
|
24
|
+
LevelAv1["L6_3"] = "6.3";
|
|
25
|
+
})(LevelAv1 || (exports.LevelAv1 = LevelAv1 = {}));
|
|
26
|
+
exports.default = LevelAv1;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import LiveAutoShutdownConfiguration from './LiveAutoShutdownConfiguration';
|
|
2
|
+
/**
|
|
3
|
+
* The auto shutdown configuration to set on a running Live Encoding. Any auto shutdown configuration the encoding currently has is overwritten. Every timer that is omitted or `null` is disarmed. An empty object disarms all timers, so always send the complete configuration the encoding should run with, including the values that should stay unchanged.
|
|
4
|
+
* @export
|
|
5
|
+
* @class LiveAutoShutdownConfigurationUpdateRequest
|
|
6
|
+
*/
|
|
7
|
+
export declare class LiveAutoShutdownConfigurationUpdateRequest extends LiveAutoShutdownConfiguration {
|
|
8
|
+
constructor(obj?: Partial<LiveAutoShutdownConfigurationUpdateRequest>);
|
|
9
|
+
}
|
|
10
|
+
export default LiveAutoShutdownConfigurationUpdateRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveAutoShutdownConfigurationUpdateRequest = void 0;
|
|
4
|
+
const LiveAutoShutdownConfiguration_1 = require("./LiveAutoShutdownConfiguration");
|
|
5
|
+
/**
|
|
6
|
+
* The auto shutdown configuration to set on a running Live Encoding. Any auto shutdown configuration the encoding currently has is overwritten. Every timer that is omitted or `null` is disarmed. An empty object disarms all timers, so always send the complete configuration the encoding should run with, including the values that should stay unchanged.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveAutoShutdownConfigurationUpdateRequest
|
|
9
|
+
*/
|
|
10
|
+
class LiveAutoShutdownConfigurationUpdateRequest extends LiveAutoShutdownConfiguration_1.default {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
super(obj);
|
|
13
|
+
if (!obj) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.LiveAutoShutdownConfigurationUpdateRequest = LiveAutoShutdownConfigurationUpdateRequest;
|
|
19
|
+
exports.default = LiveAutoShutdownConfigurationUpdateRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import LiveAutoShutdownConfiguration from './LiveAutoShutdownConfiguration';
|
|
2
|
+
/**
|
|
3
|
+
* The auto shutdown configuration that was accepted and applied to the running Live Encoding, together with the instant the encoder armed the shutdown for. `streamTimeoutMinutes` was applied from the moment the encoder accepted the update, not from the start of the encoding, so `scheduledShutdownAt` rather than the timeout value is what says when this encoding stops.
|
|
4
|
+
* @export
|
|
5
|
+
* @class LiveAutoShutdownConfigurationUpdateResponse
|
|
6
|
+
*/
|
|
7
|
+
export declare class LiveAutoShutdownConfigurationUpdateResponse extends LiveAutoShutdownConfiguration {
|
|
8
|
+
/**
|
|
9
|
+
* The instant at which the Live Encoding is currently scheduled to shut down, as reported by the encoder. `null` means no shutdown is scheduled. `bytesReadTimeoutSeconds` is not reflected here, as it only arms once the input stops flowing, so the encoding can still shut down earlier than this.
|
|
10
|
+
* @type {Date}
|
|
11
|
+
* @memberof LiveAutoShutdownConfigurationUpdateResponse
|
|
12
|
+
*/
|
|
13
|
+
scheduledShutdownAt?: Date;
|
|
14
|
+
constructor(obj?: Partial<LiveAutoShutdownConfigurationUpdateResponse>);
|
|
15
|
+
}
|
|
16
|
+
export default LiveAutoShutdownConfigurationUpdateResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveAutoShutdownConfigurationUpdateResponse = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const LiveAutoShutdownConfiguration_1 = require("./LiveAutoShutdownConfiguration");
|
|
6
|
+
/**
|
|
7
|
+
* The auto shutdown configuration that was accepted and applied to the running Live Encoding, together with the instant the encoder armed the shutdown for. `streamTimeoutMinutes` was applied from the moment the encoder accepted the update, not from the start of the encoding, so `scheduledShutdownAt` rather than the timeout value is what says when this encoding stops.
|
|
8
|
+
* @export
|
|
9
|
+
* @class LiveAutoShutdownConfigurationUpdateResponse
|
|
10
|
+
*/
|
|
11
|
+
class LiveAutoShutdownConfigurationUpdateResponse extends LiveAutoShutdownConfiguration_1.default {
|
|
12
|
+
constructor(obj) {
|
|
13
|
+
super(obj);
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.scheduledShutdownAt = (0, Mapper_1.map)(obj.scheduledShutdownAt, Date);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.LiveAutoShutdownConfigurationUpdateResponse = LiveAutoShutdownConfigurationUpdateResponse;
|
|
21
|
+
exports.default = LiveAutoShutdownConfigurationUpdateResponse;
|
|
@@ -4,17 +4,23 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class StreamMetadata {
|
|
6
6
|
/**
|
|
7
|
-
* Language of the media contained in the stream. If the value is not set, then no metadata tag is set for the media stream.
|
|
7
|
+
* Language of the media contained in the stream, given as an ISO 639-2 code or a BCP 47 tag, for example 'eng' or 'en-US'. If the value is not set, then no metadata tag is set for the media stream.
|
|
8
8
|
* @type {string}
|
|
9
9
|
* @memberof StreamMetadata
|
|
10
10
|
*/
|
|
11
11
|
language?: string;
|
|
12
12
|
/**
|
|
13
|
-
* Display name of the Stream, for example to tell apart multiple audio tracks that share the same language. For CMAF muxings it is written as a 'labl' box (ISO/IEC 14496-12) into the user data of the track. Downstream packagers use it for the Label element in DASH manifests and the NAME attribute of EXT-X-MEDIA tags in HLS playlists. If the value is not set, no label is written.
|
|
13
|
+
* Display name of the Stream, for example to tell apart multiple audio tracks that share the same language. For CMAF muxings it is written as a 'labl' box (ISO/IEC 14496-12) into the user data of the track. Downstream packagers use it for the Label element in DASH manifests and the NAME attribute of EXT-X-MEDIA tags in HLS playlists. If the value is not set, no label is written. Use 'labelLanguage' to declare which language the label itself is written in.
|
|
14
14
|
* @type {string}
|
|
15
15
|
* @memberof StreamMetadata
|
|
16
16
|
*/
|
|
17
17
|
label?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Language the 'label' itself is written in, which is not necessarily the language of the media. A Spanish audio track can carry an English label, for example. For CMAF muxings it is written into the 'labl' box next to the label, and downstream packagers use it for the lang attribute of the Label element in DASH manifests. The value is written as given and downstream packagers expose it unchanged, so set a BCP 47 tag such as 'en' when the manifest should carry that form. The value has to be shaped like a BCP 47 tag: a primary subtag of two or three letters, optionally followed by subtags of up to eight letters or digits, each separated by a hyphen, for example 'en', 'en-US' or 'es-419'. If the value is not set and a label is set, 'language' is used as given, for example 'eng'. Without either, the label language is written as 'und' (undetermined). HLS playlists are not affected, as EXT-X-MEDIA has no equivalent attribute.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StreamMetadata
|
|
22
|
+
*/
|
|
23
|
+
labelLanguage?: string;
|
|
18
24
|
/**
|
|
19
25
|
* Identifier of the switching set the Stream belongs to. For CMAF muxings it is written as a 'kind' box with schemeURI urn:dashif:ingest:switchingset_id (DASH-IF Live Media Ingest) into the user data of the track. Downstream packagers group tracks with the same identifier into one switching set and use it in segment URLs. Only letters, digits, hyphens and underscores are allowed. If the value is not set and a label is set, an identifier is derived from the properties of the Stream, including the label. Without a label, no identifier is written. Set it explicitly when segment URLs have to stay stable across configuration updates.
|
|
20
26
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -64,6 +64,18 @@ export * from './AiSceneAnalysis';
|
|
|
64
64
|
export * from './AiSceneAnalysisAssetDescription';
|
|
65
65
|
export * from './AiSceneAnalysisAutomaticAdPlacement';
|
|
66
66
|
export * from './AiSceneAnalysisFeatures';
|
|
67
|
+
export * from './AiSceneAnalysisLiveCreateRequest';
|
|
68
|
+
export * from './AiSceneAnalysisLiveError';
|
|
69
|
+
export * from './AiSceneAnalysisLiveObservation';
|
|
70
|
+
export * from './AiSceneAnalysisLiveOutput';
|
|
71
|
+
export * from './AiSceneAnalysisLiveRecording';
|
|
72
|
+
export * from './AiSceneAnalysisLiveRecordingRequest';
|
|
73
|
+
export * from './AiSceneAnalysisLiveResponse';
|
|
74
|
+
export * from './AiSceneAnalysisLiveResult';
|
|
75
|
+
export * from './AiSceneAnalysisLiveResultMetadata';
|
|
76
|
+
export * from './AiSceneAnalysisLiveSourceGap';
|
|
77
|
+
export * from './AiSceneAnalysisLiveSourceGapReason';
|
|
78
|
+
export * from './AiSceneAnalysisLiveStatus';
|
|
67
79
|
export * from './AiSceneAnalysisOutputLanguageCodes';
|
|
68
80
|
export * from './AiSceneAnalysisRegulatoryAdvisories';
|
|
69
81
|
export * from './AkamaiAccount';
|
|
@@ -166,6 +178,7 @@ export * from './AutoLevelSetup';
|
|
|
166
178
|
export * from './AutoRepresentation';
|
|
167
179
|
export * from './AutoRestartConfiguration';
|
|
168
180
|
export * from './AutomaticAdPlacementPosition';
|
|
181
|
+
export * from './Av1DynamicRangeFormat';
|
|
169
182
|
export * from './Av1PerTitleConfiguration';
|
|
170
183
|
export * from './Av1PresetConfiguration';
|
|
171
184
|
export * from './Av1VideoConfiguration';
|
|
@@ -525,6 +538,7 @@ export * from './IvSize';
|
|
|
525
538
|
export * from './KantarWatermark';
|
|
526
539
|
export * from './Keyframe';
|
|
527
540
|
export * from './Label';
|
|
541
|
+
export * from './LevelAv1';
|
|
528
542
|
export * from './LevelH262';
|
|
529
543
|
export * from './LevelH264';
|
|
530
544
|
export * from './LevelH265';
|
|
@@ -532,6 +546,8 @@ export * from './LimitReferences';
|
|
|
532
546
|
export * from './LimitTransformUnitDepthRecursionMode';
|
|
533
547
|
export * from './Link';
|
|
534
548
|
export * from './LiveAutoShutdownConfiguration';
|
|
549
|
+
export * from './LiveAutoShutdownConfigurationUpdateRequest';
|
|
550
|
+
export * from './LiveAutoShutdownConfigurationUpdateResponse';
|
|
535
551
|
export * from './LiveDashManifest';
|
|
536
552
|
export * from './LiveEncoding';
|
|
537
553
|
export * from './LiveEncodingCodec';
|
package/dist/models/index.js
CHANGED
|
@@ -80,6 +80,18 @@ __exportStar(require("./AiSceneAnalysis"), exports);
|
|
|
80
80
|
__exportStar(require("./AiSceneAnalysisAssetDescription"), exports);
|
|
81
81
|
__exportStar(require("./AiSceneAnalysisAutomaticAdPlacement"), exports);
|
|
82
82
|
__exportStar(require("./AiSceneAnalysisFeatures"), exports);
|
|
83
|
+
__exportStar(require("./AiSceneAnalysisLiveCreateRequest"), exports);
|
|
84
|
+
__exportStar(require("./AiSceneAnalysisLiveError"), exports);
|
|
85
|
+
__exportStar(require("./AiSceneAnalysisLiveObservation"), exports);
|
|
86
|
+
__exportStar(require("./AiSceneAnalysisLiveOutput"), exports);
|
|
87
|
+
__exportStar(require("./AiSceneAnalysisLiveRecording"), exports);
|
|
88
|
+
__exportStar(require("./AiSceneAnalysisLiveRecordingRequest"), exports);
|
|
89
|
+
__exportStar(require("./AiSceneAnalysisLiveResponse"), exports);
|
|
90
|
+
__exportStar(require("./AiSceneAnalysisLiveResult"), exports);
|
|
91
|
+
__exportStar(require("./AiSceneAnalysisLiveResultMetadata"), exports);
|
|
92
|
+
__exportStar(require("./AiSceneAnalysisLiveSourceGap"), exports);
|
|
93
|
+
__exportStar(require("./AiSceneAnalysisLiveSourceGapReason"), exports);
|
|
94
|
+
__exportStar(require("./AiSceneAnalysisLiveStatus"), exports);
|
|
83
95
|
__exportStar(require("./AiSceneAnalysisOutputLanguageCodes"), exports);
|
|
84
96
|
__exportStar(require("./AiSceneAnalysisRegulatoryAdvisories"), exports);
|
|
85
97
|
__exportStar(require("./AkamaiAccount"), exports);
|
|
@@ -182,6 +194,7 @@ __exportStar(require("./AutoLevelSetup"), exports);
|
|
|
182
194
|
__exportStar(require("./AutoRepresentation"), exports);
|
|
183
195
|
__exportStar(require("./AutoRestartConfiguration"), exports);
|
|
184
196
|
__exportStar(require("./AutomaticAdPlacementPosition"), exports);
|
|
197
|
+
__exportStar(require("./Av1DynamicRangeFormat"), exports);
|
|
185
198
|
__exportStar(require("./Av1PerTitleConfiguration"), exports);
|
|
186
199
|
__exportStar(require("./Av1PresetConfiguration"), exports);
|
|
187
200
|
__exportStar(require("./Av1VideoConfiguration"), exports);
|
|
@@ -541,6 +554,7 @@ __exportStar(require("./IvSize"), exports);
|
|
|
541
554
|
__exportStar(require("./KantarWatermark"), exports);
|
|
542
555
|
__exportStar(require("./Keyframe"), exports);
|
|
543
556
|
__exportStar(require("./Label"), exports);
|
|
557
|
+
__exportStar(require("./LevelAv1"), exports);
|
|
544
558
|
__exportStar(require("./LevelH262"), exports);
|
|
545
559
|
__exportStar(require("./LevelH264"), exports);
|
|
546
560
|
__exportStar(require("./LevelH265"), exports);
|
|
@@ -548,6 +562,8 @@ __exportStar(require("./LimitReferences"), exports);
|
|
|
548
562
|
__exportStar(require("./LimitTransformUnitDepthRecursionMode"), exports);
|
|
549
563
|
__exportStar(require("./Link"), exports);
|
|
550
564
|
__exportStar(require("./LiveAutoShutdownConfiguration"), exports);
|
|
565
|
+
__exportStar(require("./LiveAutoShutdownConfigurationUpdateRequest"), exports);
|
|
566
|
+
__exportStar(require("./LiveAutoShutdownConfigurationUpdateResponse"), exports);
|
|
551
567
|
__exportStar(require("./LiveDashManifest"), exports);
|
|
552
568
|
__exportStar(require("./LiveEncoding"), exports);
|
|
553
569
|
__exportStar(require("./LiveEncodingCodec"), exports);
|