@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
35 lines (34 loc) • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TsMuxing = void 0;
const Mapper_1 = require("../common/Mapper");
const Muxing_1 = require("./Muxing");
const MuxingType_1 = require("./MuxingType");
const TsMuxingConfiguration_1 = require("./TsMuxingConfiguration");
/**
* @export
* @class TsMuxing
*/
class TsMuxing extends Muxing_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for Muxing
* @type {string}
* @memberof TsMuxing
*/
this.type = MuxingType_1.default.TS;
if (!obj) {
return;
}
this.segmentLength = (0, Mapper_1.map)(obj.segmentLength);
this.minimumSegmentLength = (0, Mapper_1.map)(obj.minimumSegmentLength);
this.segmentNaming = (0, Mapper_1.map)(obj.segmentNaming);
this.segmentNamingTemplate = (0, Mapper_1.map)(obj.segmentNamingTemplate);
this.startOffset = (0, Mapper_1.map)(obj.startOffset);
this.segmentsMuxed = (0, Mapper_1.map)(obj.segmentsMuxed);
this.configuration = (0, Mapper_1.map)(obj.configuration, TsMuxingConfiguration_1.default);
}
}
exports.TsMuxing = TsMuxing;
exports.default = TsMuxing;