UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

31 lines (30 loc) 1.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BroadcastTsMuxing = void 0; const Mapper_1 = require("../common/Mapper"); const BroadcastTsMuxingConfiguration_1 = require("./BroadcastTsMuxingConfiguration"); const Muxing_1 = require("./Muxing"); const MuxingType_1 = require("./MuxingType"); /** * @export * @class BroadcastTsMuxing */ class BroadcastTsMuxing extends Muxing_1.default { constructor(obj) { super(obj); /** * Discriminator property for Muxing * @type {string} * @memberof BroadcastTsMuxing */ this.type = MuxingType_1.default.BROADCAST_TS; if (!obj) { return; } this.segmentLength = (0, Mapper_1.map)(obj.segmentLength); this.filename = (0, Mapper_1.map)(obj.filename); this.configuration = (0, Mapper_1.map)(obj.configuration, BroadcastTsMuxingConfiguration_1.default); } } exports.BroadcastTsMuxing = BroadcastTsMuxing; exports.default = BroadcastTsMuxing;