@bitmovin/api-sdk 1.272.0 → 1.272.2
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 +685 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/configurations/video/VideoApi.d.ts +2 -0
- package/dist/encoding/configurations/video/VideoApi.js +2 -0
- package/dist/encoding/configurations/video/h265v2/H265V2VideoConfigurationListQueryParams.d.ts +39 -0
- package/dist/encoding/configurations/video/h265v2/H265V2VideoConfigurationListQueryParams.js +36 -0
- package/dist/encoding/configurations/video/h265v2/H265v2Api.d.ts +43 -0
- package/dist/encoding/configurations/video/h265v2/H265v2Api.js +77 -0
- package/dist/models/CodecConfigType.d.ts +2 -1
- package/dist/models/CodecConfigType.js +1 -0
- package/dist/models/CodecConfiguration.d.ts +2 -1
- package/dist/models/CodecConfiguration.js +2 -1
- package/dist/models/H265V2ConstantBitrateModeConfig.d.ts +22 -0
- package/dist/models/H265V2ConstantBitrateModeConfig.js +27 -0
- package/dist/models/H265V2MotionCompensatedTemporalFiltering.d.ts +10 -0
- package/dist/models/H265V2MotionCompensatedTemporalFiltering.js +14 -0
- package/dist/models/H265V2PerceptualQualityModeConfig.d.ts +52 -0
- package/dist/models/H265V2PerceptualQualityModeConfig.js +32 -0
- package/dist/models/H265V2PresetConfiguration.d.ts +9 -0
- package/dist/models/H265V2PresetConfiguration.js +13 -0
- package/dist/models/H265V2RateControlModeConfig.d.ts +22 -0
- package/dist/models/H265V2RateControlModeConfig.js +24 -0
- package/dist/models/H265V2RateControlModeConfigType.d.ts +9 -0
- package/dist/models/H265V2RateControlModeConfigType.js +13 -0
- package/dist/models/H265V2VideoConfiguration.d.ts +50 -0
- package/dist/models/H265V2VideoConfiguration.js +32 -0
- package/dist/models/LiveEncodingHeartbeat.d.ts +7 -0
- package/dist/models/LiveEncodingHeartbeat.js +2 -0
- package/dist/models/LiveEncodingHeartbeatHlsManifestStats.d.ts +29 -0
- package/dist/models/LiveEncodingHeartbeatHlsManifestStats.js +23 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdate.d.ts +27 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdate.js +21 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdateLatencyStats.d.ts +33 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdateLatencyStats.js +22 -0
- package/dist/models/LiveEncodingHeartbeatManifests.d.ts +16 -0
- package/dist/models/LiveEncodingHeartbeatManifests.js +20 -0
- package/dist/models/LiveEncodingHeartbeatOutput.d.ts +23 -0
- package/dist/models/LiveEncodingHeartbeatOutput.js +22 -0
- package/dist/models/LiveEncodingHeartbeatSegments.d.ts +30 -0
- package/dist/models/LiveEncodingHeartbeatSegments.js +24 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingOutlier.d.ts +21 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingOutlier.js +20 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingStatsMs.d.ts +33 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingStatsMs.js +22 -0
- package/dist/models/LiveEncodingHeartbeatUploadOutlier.d.ts +27 -0
- package/dist/models/LiveEncodingHeartbeatUploadOutlier.js +21 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ exports.LiveEncodingHeartbeat = void 0;
|
|
|
4
4
|
const Mapper_1 = require("../common/Mapper");
|
|
5
5
|
const LiveEncodingHeartbeatEvent_1 = require("./LiveEncodingHeartbeatEvent");
|
|
6
6
|
const LiveEncodingHeartbeatIngest_1 = require("./LiveEncodingHeartbeatIngest");
|
|
7
|
+
const LiveEncodingHeartbeatOutput_1 = require("./LiveEncodingHeartbeatOutput");
|
|
7
8
|
/**
|
|
8
9
|
* Heartbeat data for a Live Encoding.
|
|
9
10
|
* @export
|
|
@@ -17,6 +18,7 @@ class LiveEncodingHeartbeat {
|
|
|
17
18
|
this.timestamp = (0, Mapper_1.map)(obj.timestamp, Date);
|
|
18
19
|
this.ingest = (0, Mapper_1.map)(obj.ingest, LiveEncodingHeartbeatIngest_1.default);
|
|
19
20
|
this.events = (0, Mapper_1.mapArray)(obj.events, LiveEncodingHeartbeatEvent_1.default);
|
|
21
|
+
this.output = (0, Mapper_1.map)(obj.output, LiveEncodingHeartbeatOutput_1.default);
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
exports.LiveEncodingHeartbeat = LiveEncodingHeartbeat;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import LiveEncodingHeartbeatManifestUpdate from './LiveEncodingHeartbeatManifestUpdate';
|
|
2
|
+
import LiveEncodingHeartbeatManifestUpdateLatencyStats from './LiveEncodingHeartbeatManifestUpdateLatencyStats';
|
|
3
|
+
/**
|
|
4
|
+
* HLS manifest update monitoring data for a live encoding heartbeat.
|
|
5
|
+
* @export
|
|
6
|
+
* @class LiveEncodingHeartbeatHlsManifestStats
|
|
7
|
+
*/
|
|
8
|
+
export declare class LiveEncodingHeartbeatHlsManifestStats {
|
|
9
|
+
/**
|
|
10
|
+
* Id of the HLS manifest these statistics belong to.
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof LiveEncodingHeartbeatHlsManifestStats
|
|
13
|
+
*/
|
|
14
|
+
manifestId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Aggregate latency statistics over recorded manifest updates.
|
|
17
|
+
* @type {LiveEncodingHeartbeatManifestUpdateLatencyStats}
|
|
18
|
+
* @memberof LiveEncodingHeartbeatHlsManifestStats
|
|
19
|
+
*/
|
|
20
|
+
manifestUpdateLatencyStats?: LiveEncodingHeartbeatManifestUpdateLatencyStats;
|
|
21
|
+
/**
|
|
22
|
+
* Per-manifest outlier-only (high-latency) manifest updates, ordered newest to oldest.
|
|
23
|
+
* @type {LiveEncodingHeartbeatManifestUpdate[]}
|
|
24
|
+
* @memberof LiveEncodingHeartbeatHlsManifestStats
|
|
25
|
+
*/
|
|
26
|
+
manifestUpdates?: LiveEncodingHeartbeatManifestUpdate[];
|
|
27
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatHlsManifestStats>);
|
|
28
|
+
}
|
|
29
|
+
export default LiveEncodingHeartbeatHlsManifestStats;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatHlsManifestStats = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const LiveEncodingHeartbeatManifestUpdate_1 = require("./LiveEncodingHeartbeatManifestUpdate");
|
|
6
|
+
const LiveEncodingHeartbeatManifestUpdateLatencyStats_1 = require("./LiveEncodingHeartbeatManifestUpdateLatencyStats");
|
|
7
|
+
/**
|
|
8
|
+
* HLS manifest update monitoring data for a live encoding heartbeat.
|
|
9
|
+
* @export
|
|
10
|
+
* @class LiveEncodingHeartbeatHlsManifestStats
|
|
11
|
+
*/
|
|
12
|
+
class LiveEncodingHeartbeatHlsManifestStats {
|
|
13
|
+
constructor(obj) {
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.manifestId = (0, Mapper_1.map)(obj.manifestId);
|
|
18
|
+
this.manifestUpdateLatencyStats = (0, Mapper_1.map)(obj.manifestUpdateLatencyStats, LiveEncodingHeartbeatManifestUpdateLatencyStats_1.default);
|
|
19
|
+
this.manifestUpdates = (0, Mapper_1.mapArray)(obj.manifestUpdates, LiveEncodingHeartbeatManifestUpdate_1.default);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.LiveEncodingHeartbeatHlsManifestStats = LiveEncodingHeartbeatHlsManifestStats;
|
|
23
|
+
exports.default = LiveEncodingHeartbeatHlsManifestStats;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single media-advancing HLS manifest update.
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveEncodingHeartbeatManifestUpdate
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveEncodingHeartbeatManifestUpdate {
|
|
7
|
+
/**
|
|
8
|
+
* Wall-clock time the media-advancing manifest update occured, returned as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
9
|
+
* @type {Date}
|
|
10
|
+
* @memberof LiveEncodingHeartbeatManifestUpdate
|
|
11
|
+
*/
|
|
12
|
+
manifestUpdateWallClockTime?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* Latest media presentation time across renditions (min of all playlists' stream progress), returned as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
15
|
+
* @type {Date}
|
|
16
|
+
* @memberof LiveEncodingHeartbeatManifestUpdate
|
|
17
|
+
*/
|
|
18
|
+
latestMediaPresentationTime?: Date;
|
|
19
|
+
/**
|
|
20
|
+
* Manifest update latency in milliseconds (elapsed wall-clock minus media-time advanced).
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LiveEncodingHeartbeatManifestUpdate
|
|
23
|
+
*/
|
|
24
|
+
manifestUpdateLatency?: number;
|
|
25
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatManifestUpdate>);
|
|
26
|
+
}
|
|
27
|
+
export default LiveEncodingHeartbeatManifestUpdate;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatManifestUpdate = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* A single media-advancing HLS manifest update.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveEncodingHeartbeatManifestUpdate
|
|
9
|
+
*/
|
|
10
|
+
class LiveEncodingHeartbeatManifestUpdate {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.manifestUpdateWallClockTime = (0, Mapper_1.map)(obj.manifestUpdateWallClockTime, Date);
|
|
16
|
+
this.latestMediaPresentationTime = (0, Mapper_1.map)(obj.latestMediaPresentationTime, Date);
|
|
17
|
+
this.manifestUpdateLatency = (0, Mapper_1.map)(obj.manifestUpdateLatency);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.LiveEncodingHeartbeatManifestUpdate = LiveEncodingHeartbeatManifestUpdate;
|
|
21
|
+
exports.default = LiveEncodingHeartbeatManifestUpdate;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aggregate statistics of HLS manifest update latencies.
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveEncodingHeartbeatManifestUpdateLatencyStats {
|
|
7
|
+
/**
|
|
8
|
+
* Mean manifest update latency in milliseconds.
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
11
|
+
*/
|
|
12
|
+
mean?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Median manifest update latency in milliseconds.
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
17
|
+
*/
|
|
18
|
+
median?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Minimum manifest update latency in milliseconds.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
23
|
+
*/
|
|
24
|
+
min?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Maximum manifest update latency in milliseconds.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
29
|
+
*/
|
|
30
|
+
max?: number;
|
|
31
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatManifestUpdateLatencyStats>);
|
|
32
|
+
}
|
|
33
|
+
export default LiveEncodingHeartbeatManifestUpdateLatencyStats;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatManifestUpdateLatencyStats = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* Aggregate statistics of HLS manifest update latencies.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveEncodingHeartbeatManifestUpdateLatencyStats
|
|
9
|
+
*/
|
|
10
|
+
class LiveEncodingHeartbeatManifestUpdateLatencyStats {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.mean = (0, Mapper_1.map)(obj.mean);
|
|
16
|
+
this.median = (0, Mapper_1.map)(obj.median);
|
|
17
|
+
this.min = (0, Mapper_1.map)(obj.min);
|
|
18
|
+
this.max = (0, Mapper_1.map)(obj.max);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.LiveEncodingHeartbeatManifestUpdateLatencyStats = LiveEncodingHeartbeatManifestUpdateLatencyStats;
|
|
22
|
+
exports.default = LiveEncodingHeartbeatManifestUpdateLatencyStats;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import LiveEncodingHeartbeatHlsManifestStats from './LiveEncodingHeartbeatHlsManifestStats';
|
|
2
|
+
/**
|
|
3
|
+
* Manifest statistics for a live encoding heartbeat.
|
|
4
|
+
* @export
|
|
5
|
+
* @class LiveEncodingHeartbeatManifests
|
|
6
|
+
*/
|
|
7
|
+
export declare class LiveEncodingHeartbeatManifests {
|
|
8
|
+
/**
|
|
9
|
+
* Per-manifest HLS update statistics; one entry per HLS manifest.
|
|
10
|
+
* @type {LiveEncodingHeartbeatHlsManifestStats[]}
|
|
11
|
+
* @memberof LiveEncodingHeartbeatManifests
|
|
12
|
+
*/
|
|
13
|
+
hls?: LiveEncodingHeartbeatHlsManifestStats[];
|
|
14
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatManifests>);
|
|
15
|
+
}
|
|
16
|
+
export default LiveEncodingHeartbeatManifests;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatManifests = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const LiveEncodingHeartbeatHlsManifestStats_1 = require("./LiveEncodingHeartbeatHlsManifestStats");
|
|
6
|
+
/**
|
|
7
|
+
* Manifest statistics for a live encoding heartbeat.
|
|
8
|
+
* @export
|
|
9
|
+
* @class LiveEncodingHeartbeatManifests
|
|
10
|
+
*/
|
|
11
|
+
class LiveEncodingHeartbeatManifests {
|
|
12
|
+
constructor(obj) {
|
|
13
|
+
if (!obj) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
this.hls = (0, Mapper_1.mapArray)(obj.hls, LiveEncodingHeartbeatHlsManifestStats_1.default);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.LiveEncodingHeartbeatManifests = LiveEncodingHeartbeatManifests;
|
|
20
|
+
exports.default = LiveEncodingHeartbeatManifests;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import LiveEncodingHeartbeatManifests from './LiveEncodingHeartbeatManifests';
|
|
2
|
+
import LiveEncodingHeartbeatSegments from './LiveEncodingHeartbeatSegments';
|
|
3
|
+
/**
|
|
4
|
+
* Output statistics for a live encoding heartbeat.
|
|
5
|
+
* @export
|
|
6
|
+
* @class LiveEncodingHeartbeatOutput
|
|
7
|
+
*/
|
|
8
|
+
export declare class LiveEncodingHeartbeatOutput {
|
|
9
|
+
/**
|
|
10
|
+
* Manifest statistics for the live encoding output.
|
|
11
|
+
* @type {LiveEncodingHeartbeatManifests}
|
|
12
|
+
* @memberof LiveEncodingHeartbeatOutput
|
|
13
|
+
*/
|
|
14
|
+
manifests?: LiveEncodingHeartbeatManifests;
|
|
15
|
+
/**
|
|
16
|
+
* Segment processing statistics for the live encoding output.
|
|
17
|
+
* @type {LiveEncodingHeartbeatSegments}
|
|
18
|
+
* @memberof LiveEncodingHeartbeatOutput
|
|
19
|
+
*/
|
|
20
|
+
segments?: LiveEncodingHeartbeatSegments;
|
|
21
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatOutput>);
|
|
22
|
+
}
|
|
23
|
+
export default LiveEncodingHeartbeatOutput;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatOutput = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const LiveEncodingHeartbeatManifests_1 = require("./LiveEncodingHeartbeatManifests");
|
|
6
|
+
const LiveEncodingHeartbeatSegments_1 = require("./LiveEncodingHeartbeatSegments");
|
|
7
|
+
/**
|
|
8
|
+
* Output statistics for a live encoding heartbeat.
|
|
9
|
+
* @export
|
|
10
|
+
* @class LiveEncodingHeartbeatOutput
|
|
11
|
+
*/
|
|
12
|
+
class LiveEncodingHeartbeatOutput {
|
|
13
|
+
constructor(obj) {
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.manifests = (0, Mapper_1.map)(obj.manifests, LiveEncodingHeartbeatManifests_1.default);
|
|
18
|
+
this.segments = (0, Mapper_1.map)(obj.segments, LiveEncodingHeartbeatSegments_1.default);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.LiveEncodingHeartbeatOutput = LiveEncodingHeartbeatOutput;
|
|
22
|
+
exports.default = LiveEncodingHeartbeatOutput;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import LiveEncodingHeartbeatTotalProcessingOutlier from './LiveEncodingHeartbeatTotalProcessingOutlier';
|
|
2
|
+
import LiveEncodingHeartbeatTotalProcessingStatsMs from './LiveEncodingHeartbeatTotalProcessingStatsMs';
|
|
3
|
+
import LiveEncodingHeartbeatUploadOutlier from './LiveEncodingHeartbeatUploadOutlier';
|
|
4
|
+
/**
|
|
5
|
+
* Segment processing statistics for a live encoding heartbeat.
|
|
6
|
+
* @export
|
|
7
|
+
* @class LiveEncodingHeartbeatSegments
|
|
8
|
+
*/
|
|
9
|
+
export declare class LiveEncodingHeartbeatSegments {
|
|
10
|
+
/**
|
|
11
|
+
* Aggregate statistics of per-segment total processing duration.
|
|
12
|
+
* @type {LiveEncodingHeartbeatTotalProcessingStatsMs}
|
|
13
|
+
* @memberof LiveEncodingHeartbeatSegments
|
|
14
|
+
*/
|
|
15
|
+
totalProcessingStatsMs?: LiveEncodingHeartbeatTotalProcessingStatsMs;
|
|
16
|
+
/**
|
|
17
|
+
* Last 20 per-muxing uploads whose duration exceeded the upload-outlier threshold.
|
|
18
|
+
* @type {LiveEncodingHeartbeatUploadOutlier[]}
|
|
19
|
+
* @memberof LiveEncodingHeartbeatSegments
|
|
20
|
+
*/
|
|
21
|
+
uploadOutliers?: LiveEncodingHeartbeatUploadOutlier[];
|
|
22
|
+
/**
|
|
23
|
+
* Last 20 segments whose total processing duration exceeded twice the rolling median.
|
|
24
|
+
* @type {LiveEncodingHeartbeatTotalProcessingOutlier[]}
|
|
25
|
+
* @memberof LiveEncodingHeartbeatSegments
|
|
26
|
+
*/
|
|
27
|
+
totalProcessingOutliers?: LiveEncodingHeartbeatTotalProcessingOutlier[];
|
|
28
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatSegments>);
|
|
29
|
+
}
|
|
30
|
+
export default LiveEncodingHeartbeatSegments;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatSegments = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const LiveEncodingHeartbeatTotalProcessingOutlier_1 = require("./LiveEncodingHeartbeatTotalProcessingOutlier");
|
|
6
|
+
const LiveEncodingHeartbeatTotalProcessingStatsMs_1 = require("./LiveEncodingHeartbeatTotalProcessingStatsMs");
|
|
7
|
+
const LiveEncodingHeartbeatUploadOutlier_1 = require("./LiveEncodingHeartbeatUploadOutlier");
|
|
8
|
+
/**
|
|
9
|
+
* Segment processing statistics for a live encoding heartbeat.
|
|
10
|
+
* @export
|
|
11
|
+
* @class LiveEncodingHeartbeatSegments
|
|
12
|
+
*/
|
|
13
|
+
class LiveEncodingHeartbeatSegments {
|
|
14
|
+
constructor(obj) {
|
|
15
|
+
if (!obj) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
this.totalProcessingStatsMs = (0, Mapper_1.map)(obj.totalProcessingStatsMs, LiveEncodingHeartbeatTotalProcessingStatsMs_1.default);
|
|
19
|
+
this.uploadOutliers = (0, Mapper_1.mapArray)(obj.uploadOutliers, LiveEncodingHeartbeatUploadOutlier_1.default);
|
|
20
|
+
this.totalProcessingOutliers = (0, Mapper_1.mapArray)(obj.totalProcessingOutliers, LiveEncodingHeartbeatTotalProcessingOutlier_1.default);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.LiveEncodingHeartbeatSegments = LiveEncodingHeartbeatSegments;
|
|
24
|
+
exports.default = LiveEncodingHeartbeatSegments;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single segment whose total processing duration exceeded twice the rolling median.
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveEncodingHeartbeatTotalProcessingOutlier
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveEncodingHeartbeatTotalProcessingOutlier {
|
|
7
|
+
/**
|
|
8
|
+
* Output segment number this measurement belongs to.
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingOutlier
|
|
11
|
+
*/
|
|
12
|
+
segmentNumber?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Total processing duration in milliseconds.
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingOutlier
|
|
17
|
+
*/
|
|
18
|
+
durationMs?: number;
|
|
19
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatTotalProcessingOutlier>);
|
|
20
|
+
}
|
|
21
|
+
export default LiveEncodingHeartbeatTotalProcessingOutlier;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatTotalProcessingOutlier = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* A single segment whose total processing duration exceeded twice the rolling median.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveEncodingHeartbeatTotalProcessingOutlier
|
|
9
|
+
*/
|
|
10
|
+
class LiveEncodingHeartbeatTotalProcessingOutlier {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.segmentNumber = (0, Mapper_1.map)(obj.segmentNumber);
|
|
16
|
+
this.durationMs = (0, Mapper_1.map)(obj.durationMs);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.LiveEncodingHeartbeatTotalProcessingOutlier = LiveEncodingHeartbeatTotalProcessingOutlier;
|
|
20
|
+
exports.default = LiveEncodingHeartbeatTotalProcessingOutlier;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aggregate statistics of per-segment total processing duration over a rolling window of completed segments.
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveEncodingHeartbeatTotalProcessingStatsMs {
|
|
7
|
+
/**
|
|
8
|
+
* Minimum total processing duration in milliseconds.
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
11
|
+
*/
|
|
12
|
+
min?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Maximum total processing duration in milliseconds.
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
17
|
+
*/
|
|
18
|
+
max?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Mean total processing duration in milliseconds.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
23
|
+
*/
|
|
24
|
+
mean?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Median total processing duration in milliseconds.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
29
|
+
*/
|
|
30
|
+
median?: number;
|
|
31
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatTotalProcessingStatsMs>);
|
|
32
|
+
}
|
|
33
|
+
export default LiveEncodingHeartbeatTotalProcessingStatsMs;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatTotalProcessingStatsMs = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* Aggregate statistics of per-segment total processing duration over a rolling window of completed segments.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveEncodingHeartbeatTotalProcessingStatsMs
|
|
9
|
+
*/
|
|
10
|
+
class LiveEncodingHeartbeatTotalProcessingStatsMs {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.min = (0, Mapper_1.map)(obj.min);
|
|
16
|
+
this.max = (0, Mapper_1.map)(obj.max);
|
|
17
|
+
this.mean = (0, Mapper_1.map)(obj.mean);
|
|
18
|
+
this.median = (0, Mapper_1.map)(obj.median);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.LiveEncodingHeartbeatTotalProcessingStatsMs = LiveEncodingHeartbeatTotalProcessingStatsMs;
|
|
22
|
+
exports.default = LiveEncodingHeartbeatTotalProcessingStatsMs;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single per-muxing segment upload whose duration exceeded the upload-outlier threshold.
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveEncodingHeartbeatUploadOutlier
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveEncodingHeartbeatUploadOutlier {
|
|
7
|
+
/**
|
|
8
|
+
* Output segment number this upload belongs to.
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof LiveEncodingHeartbeatUploadOutlier
|
|
11
|
+
*/
|
|
12
|
+
segmentNumber?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Identifier of the muxing whose upload was flagged.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof LiveEncodingHeartbeatUploadOutlier
|
|
17
|
+
*/
|
|
18
|
+
encodingReferenceMuxingId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Upload duration in milliseconds.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LiveEncodingHeartbeatUploadOutlier
|
|
23
|
+
*/
|
|
24
|
+
durationMs?: number;
|
|
25
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatUploadOutlier>);
|
|
26
|
+
}
|
|
27
|
+
export default LiveEncodingHeartbeatUploadOutlier;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatUploadOutlier = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* A single per-muxing segment upload whose duration exceeded the upload-outlier threshold.
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveEncodingHeartbeatUploadOutlier
|
|
9
|
+
*/
|
|
10
|
+
class LiveEncodingHeartbeatUploadOutlier {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.segmentNumber = (0, Mapper_1.map)(obj.segmentNumber);
|
|
16
|
+
this.encodingReferenceMuxingId = (0, Mapper_1.map)(obj.encodingReferenceMuxingId);
|
|
17
|
+
this.durationMs = (0, Mapper_1.map)(obj.durationMs);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.LiveEncodingHeartbeatUploadOutlier = LiveEncodingHeartbeatUploadOutlier;
|
|
21
|
+
exports.default = LiveEncodingHeartbeatUploadOutlier;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -452,7 +452,14 @@ export * from './H264Trellis';
|
|
|
452
452
|
export * from './H264VideoConfiguration';
|
|
453
453
|
export * from './H265DynamicRangeFormat';
|
|
454
454
|
export * from './H265PerTitleConfiguration';
|
|
455
|
+
export * from './H265V2ConstantBitrateModeConfig';
|
|
456
|
+
export * from './H265V2MotionCompensatedTemporalFiltering';
|
|
455
457
|
export * from './H265V2PerTitleConfiguration';
|
|
458
|
+
export * from './H265V2PerceptualQualityModeConfig';
|
|
459
|
+
export * from './H265V2PresetConfiguration';
|
|
460
|
+
export * from './H265V2RateControlModeConfig';
|
|
461
|
+
export * from './H265V2RateControlModeConfigType';
|
|
462
|
+
export * from './H265V2VideoConfiguration';
|
|
456
463
|
export * from './H265VideoConfiguration';
|
|
457
464
|
export * from './HeAacV1AudioConfiguration';
|
|
458
465
|
export * from './HeAacV1Signaling';
|
|
@@ -521,9 +528,18 @@ export * from './LiveEncodingHeartbeat';
|
|
|
521
528
|
export * from './LiveEncodingHeartbeatEvent';
|
|
522
529
|
export * from './LiveEncodingHeartbeatEventDetails';
|
|
523
530
|
export * from './LiveEncodingHeartbeatEventType';
|
|
531
|
+
export * from './LiveEncodingHeartbeatHlsManifestStats';
|
|
524
532
|
export * from './LiveEncodingHeartbeatIngest';
|
|
525
533
|
export * from './LiveEncodingHeartbeatIngestPoint';
|
|
526
534
|
export * from './LiveEncodingHeartbeatIngestStream';
|
|
535
|
+
export * from './LiveEncodingHeartbeatManifestUpdate';
|
|
536
|
+
export * from './LiveEncodingHeartbeatManifestUpdateLatencyStats';
|
|
537
|
+
export * from './LiveEncodingHeartbeatManifests';
|
|
538
|
+
export * from './LiveEncodingHeartbeatOutput';
|
|
539
|
+
export * from './LiveEncodingHeartbeatSegments';
|
|
540
|
+
export * from './LiveEncodingHeartbeatTotalProcessingOutlier';
|
|
541
|
+
export * from './LiveEncodingHeartbeatTotalProcessingStatsMs';
|
|
542
|
+
export * from './LiveEncodingHeartbeatUploadOutlier';
|
|
527
543
|
export * from './LiveEncodingHeartbeatUrlResponse';
|
|
528
544
|
export * from './LiveEncodingHeartbeatWebhook';
|
|
529
545
|
export * from './LiveEncodingOptionsStatistics';
|
package/dist/models/index.js
CHANGED
|
@@ -468,7 +468,14 @@ __exportStar(require("./H264Trellis"), exports);
|
|
|
468
468
|
__exportStar(require("./H264VideoConfiguration"), exports);
|
|
469
469
|
__exportStar(require("./H265DynamicRangeFormat"), exports);
|
|
470
470
|
__exportStar(require("./H265PerTitleConfiguration"), exports);
|
|
471
|
+
__exportStar(require("./H265V2ConstantBitrateModeConfig"), exports);
|
|
472
|
+
__exportStar(require("./H265V2MotionCompensatedTemporalFiltering"), exports);
|
|
471
473
|
__exportStar(require("./H265V2PerTitleConfiguration"), exports);
|
|
474
|
+
__exportStar(require("./H265V2PerceptualQualityModeConfig"), exports);
|
|
475
|
+
__exportStar(require("./H265V2PresetConfiguration"), exports);
|
|
476
|
+
__exportStar(require("./H265V2RateControlModeConfig"), exports);
|
|
477
|
+
__exportStar(require("./H265V2RateControlModeConfigType"), exports);
|
|
478
|
+
__exportStar(require("./H265V2VideoConfiguration"), exports);
|
|
472
479
|
__exportStar(require("./H265VideoConfiguration"), exports);
|
|
473
480
|
__exportStar(require("./HeAacV1AudioConfiguration"), exports);
|
|
474
481
|
__exportStar(require("./HeAacV1Signaling"), exports);
|
|
@@ -537,9 +544,18 @@ __exportStar(require("./LiveEncodingHeartbeat"), exports);
|
|
|
537
544
|
__exportStar(require("./LiveEncodingHeartbeatEvent"), exports);
|
|
538
545
|
__exportStar(require("./LiveEncodingHeartbeatEventDetails"), exports);
|
|
539
546
|
__exportStar(require("./LiveEncodingHeartbeatEventType"), exports);
|
|
547
|
+
__exportStar(require("./LiveEncodingHeartbeatHlsManifestStats"), exports);
|
|
540
548
|
__exportStar(require("./LiveEncodingHeartbeatIngest"), exports);
|
|
541
549
|
__exportStar(require("./LiveEncodingHeartbeatIngestPoint"), exports);
|
|
542
550
|
__exportStar(require("./LiveEncodingHeartbeatIngestStream"), exports);
|
|
551
|
+
__exportStar(require("./LiveEncodingHeartbeatManifestUpdate"), exports);
|
|
552
|
+
__exportStar(require("./LiveEncodingHeartbeatManifestUpdateLatencyStats"), exports);
|
|
553
|
+
__exportStar(require("./LiveEncodingHeartbeatManifests"), exports);
|
|
554
|
+
__exportStar(require("./LiveEncodingHeartbeatOutput"), exports);
|
|
555
|
+
__exportStar(require("./LiveEncodingHeartbeatSegments"), exports);
|
|
556
|
+
__exportStar(require("./LiveEncodingHeartbeatTotalProcessingOutlier"), exports);
|
|
557
|
+
__exportStar(require("./LiveEncodingHeartbeatTotalProcessingStatsMs"), exports);
|
|
558
|
+
__exportStar(require("./LiveEncodingHeartbeatUploadOutlier"), exports);
|
|
543
559
|
__exportStar(require("./LiveEncodingHeartbeatUrlResponse"), exports);
|
|
544
560
|
__exportStar(require("./LiveEncodingHeartbeatWebhook"), exports);
|
|
545
561
|
__exportStar(require("./LiveEncodingOptionsStatistics"), exports);
|