@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
67 lines (66 loc) • 2.68 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CodecConfiguration = void 0;
var BitmovinResource_1 = require("./BitmovinResource");
/**
* @export
* @class CodecConfiguration
*/
var CodecConfiguration = /** @class */ (function (_super) {
__extends(CodecConfiguration, _super);
function CodecConfiguration(obj) {
var _this = _super.call(this, obj) || this;
if (!obj) {
return _this;
}
return _this;
}
CodecConfiguration._discriminatorName = 'type';
CodecConfiguration._discriminatorMapping = {
AAC: 'AacAudioConfiguration',
AUDIO_PASSTHROUGH: 'PassthroughAudioConfiguration',
DTS_PASSTHROUGH: 'DtsPassthroughAudioConfiguration',
DTS: 'DtsAudioConfiguration',
DTSX: 'DtsXAudioConfiguration',
DVB_SUBTITLE: 'DvbSubtitleConfiguration',
HE_AAC_V1: 'HeAacV1AudioConfiguration',
HE_AAC_V2: 'HeAacV2AudioConfiguration',
H264: 'H264VideoConfiguration',
H265: 'H265VideoConfiguration',
VP9: 'Vp9VideoConfiguration',
VP8: 'Vp8VideoConfiguration',
MP2: 'Mp2AudioConfiguration',
MP3: 'Mp3AudioConfiguration',
AC3: 'Ac3AudioConfiguration',
DD: 'DolbyDigitalAudioConfiguration',
EAC3: 'Eac3AudioConfiguration',
DDPLUS: 'DolbyDigitalPlusAudioConfiguration',
OPUS: 'OpusAudioConfiguration',
VORBIS: 'VorbisAudioConfiguration',
MJPEG: 'MjpegVideoConfiguration',
AV1: 'Av1VideoConfiguration',
DOLBY_ATMOS: 'DolbyAtmosAudioConfiguration',
H262: 'H262VideoConfiguration',
PCM: 'PcmAudioConfiguration',
WEBVTT: 'WebVttConfiguration',
IMSC: 'ImscConfiguration'
};
return CodecConfiguration;
}(BitmovinResource_1.default));
exports.CodecConfiguration = CodecConfiguration;
exports.default = CodecConfiguration;