UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

28 lines (27 loc) 864 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Mp3AudioConfiguration = void 0; const Mapper_1 = require("../common/Mapper"); const AudioConfiguration_1 = require("./AudioConfiguration"); const CodecConfigType_1 = require("./CodecConfigType"); /** * @export * @class Mp3AudioConfiguration */ class Mp3AudioConfiguration extends AudioConfiguration_1.default { constructor(obj) { super(obj); /** * Discriminator property for CodecConfiguration * @type {string} * @memberof Mp3AudioConfiguration */ this.type = CodecConfigType_1.default.MP3; if (!obj) { return; } this.channelLayout = (0, Mapper_1.map)(obj.channelLayout); } } exports.Mp3AudioConfiguration = Mp3AudioConfiguration; exports.default = Mp3AudioConfiguration;