UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

33 lines (32 loc) 1.19 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Mp4Muxing = void 0; const Mapper_1 = require("../common/Mapper"); const DolbyVisionMuxingConfiguration_1 = require("./DolbyVisionMuxingConfiguration"); const Muxing_1 = require("./Muxing"); const MuxingType_1 = require("./MuxingType"); /** * @export * @class Mp4Muxing */ class Mp4Muxing extends Muxing_1.default { constructor(obj) { super(obj); /** * Discriminator property for Muxing * @type {string} * @memberof Mp4Muxing */ this.type = MuxingType_1.default.MP4; if (!obj) { return; } this.filename = (0, Mapper_1.map)(obj.filename); this.fragmentDuration = (0, Mapper_1.map)(obj.fragmentDuration); this.minimumFragmentDuration = (0, Mapper_1.map)(obj.minimumFragmentDuration); this.fragmentedMP4MuxingManifestType = (0, Mapper_1.map)(obj.fragmentedMP4MuxingManifestType); this.dolbyVisionConfiguration = (0, Mapper_1.map)(obj.dolbyVisionConfiguration, DolbyVisionMuxingConfiguration_1.default); } } exports.Mp4Muxing = Mp4Muxing; exports.default = Mp4Muxing;