UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

35 lines (34 loc) 1.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZixiInput = void 0; const Mapper_1 = require("../common/Mapper"); const Input_1 = require("./Input"); const InputType_1 = require("./InputType"); /** * @export * @class ZixiInput */ class ZixiInput extends Input_1.default { constructor(obj) { super(obj); /** * Discriminator property for Input * @type {string} * @memberof ZixiInput */ this.type = InputType_1.default.ZIXI; if (!obj) { return; } this.host = (0, Mapper_1.map)(obj.host); this.port = (0, Mapper_1.map)(obj.port); this.stream = (0, Mapper_1.map)(obj.stream); this.password = (0, Mapper_1.map)(obj.password); this.latency = (0, Mapper_1.map)(obj.latency); this.minBitrate = (0, Mapper_1.map)(obj.minBitrate); this.decryptionType = (0, Mapper_1.map)(obj.decryptionType); this.decryptionKey = (0, Mapper_1.map)(obj.decryptionKey); } } exports.ZixiInput = ZixiInput; exports.default = ZixiInput;