UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

38 lines (37 loc) 1.86 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveEncodingHeartbeatIngestStream = void 0; var Mapper_1 = require("../common/Mapper"); /** * Details about an individual stream within the live ingest. * @export * @class LiveEncodingHeartbeatIngestStream */ var LiveEncodingHeartbeatIngestStream = /** @class */ (function () { function LiveEncodingHeartbeatIngestStream(obj) { if (!obj) { return; } this.streamId = (0, Mapper_1.map)(obj.streamId); this.mediaType = (0, Mapper_1.map)(obj.mediaType); this.width = (0, Mapper_1.map)(obj.width); this.height = (0, Mapper_1.map)(obj.height); this.rate = (0, Mapper_1.map)(obj.rate); this.codec = (0, Mapper_1.map)(obj.codec); this.aspectRatio = (0, Mapper_1.map)(obj.aspectRatio); this.bitrate = (0, Mapper_1.map)(obj.bitrate); this.samplesReadPerSecondAvg = (0, Mapper_1.map)(obj.samplesReadPerSecondAvg); this.incomingBitrate = (0, Mapper_1.map)(obj.incomingBitrate); this.keyFrameIntervalMax = (0, Mapper_1.map)(obj.keyFrameIntervalMax); this.keyFrameIntervalAvg = (0, Mapper_1.map)(obj.keyFrameIntervalAvg); this.lastTimestamp = (0, Mapper_1.map)(obj.lastTimestamp); this.lastTimestampTimescale = (0, Mapper_1.map)(obj.lastTimestampTimescale); this.numberOfAudioChannels = (0, Mapper_1.map)(obj.numberOfAudioChannels); this.audioChannelFormat = (0, Mapper_1.map)(obj.audioChannelFormat); this.lastArrivalTime = (0, Mapper_1.map)(obj.lastArrivalTime, Date); this.healthy = (0, Mapper_1.map)(obj.healthy); } return LiveEncodingHeartbeatIngestStream; }()); exports.LiveEncodingHeartbeatIngestStream = LiveEncodingHeartbeatIngestStream; exports.default = LiveEncodingHeartbeatIngestStream;