UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

32 lines (31 loc) 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RedundantRtmpInput = void 0; const Mapper_1 = require("../common/Mapper"); const Input_1 = require("./Input"); const InputType_1 = require("./InputType"); const RtmpIngestPoint_1 = require("./RtmpIngestPoint"); const StaticRtmpIngestPoint_1 = require("./StaticRtmpIngestPoint"); /** * @export * @class RedundantRtmpInput */ class RedundantRtmpInput extends Input_1.default { constructor(obj) { super(obj); /** * Discriminator property for Input * @type {string} * @memberof RedundantRtmpInput */ this.type = InputType_1.default.REDUNDANT_RTMP; if (!obj) { return; } this.delayThreshold = (0, Mapper_1.map)(obj.delayThreshold); this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, RtmpIngestPoint_1.default); this.staticIngestPoints = (0, Mapper_1.mapArray)(obj.staticIngestPoints, StaticRtmpIngestPoint_1.default); } } exports.RedundantRtmpInput = RedundantRtmpInput; exports.default = RedundantRtmpInput;