UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

30 lines (29 loc) 970 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Cea708CaptionInputStream = void 0; const Mapper_1 = require("../common/Mapper"); const InputStream_1 = require("./InputStream"); const InputStreamType_1 = require("./InputStreamType"); /** * @export * @class Cea708CaptionInputStream */ class Cea708CaptionInputStream extends InputStream_1.default { constructor(obj) { super(obj); /** * Discriminator property for InputStream * @type {string} * @memberof Cea708CaptionInputStream */ this.type = InputStreamType_1.default.CAPTION_CEA708; if (!obj) { return; } this.inputId = (0, Mapper_1.map)(obj.inputId); this.inputPath = (0, Mapper_1.map)(obj.inputPath); this.channel = (0, Mapper_1.map)(obj.channel); } } exports.Cea708CaptionInputStream = Cea708CaptionInputStream; exports.default = Cea708CaptionInputStream;