@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
30 lines (29 loc) • 970 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cea608CaptionInputStream = void 0;
const Mapper_1 = require("../common/Mapper");
const InputStream_1 = require("./InputStream");
const InputStreamType_1 = require("./InputStreamType");
/**
* @export
* @class Cea608CaptionInputStream
*/
class Cea608CaptionInputStream extends InputStream_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for InputStream
* @type {string}
* @memberof Cea608CaptionInputStream
*/
this.type = InputStreamType_1.default.CAPTION_CEA608;
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.Cea608CaptionInputStream = Cea608CaptionInputStream;
exports.default = Cea608CaptionInputStream;