UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

32 lines (31 loc) 1.19 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Av1VideoConfiguration = void 0; const Mapper_1 = require("../common/Mapper"); const CodecConfigType_1 = require("./CodecConfigType"); const VideoConfiguration_1 = require("./VideoConfiguration"); /** * @export * @class Av1VideoConfiguration */ class Av1VideoConfiguration extends VideoConfiguration_1.default { constructor(obj) { super(obj); /** * Discriminator property for CodecConfiguration * @type {string} * @memberof Av1VideoConfiguration */ this.type = CodecConfigType_1.default.AV1; if (!obj) { return; } this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration); this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup); this.masterDisplay = (0, Mapper_1.map)(obj.masterDisplay); this.maxContentLightLevel = (0, Mapper_1.map)(obj.maxContentLightLevel); this.maxPictureAverageLightLevel = (0, Mapper_1.map)(obj.maxPictureAverageLightLevel); } } exports.Av1VideoConfiguration = Av1VideoConfiguration; exports.default = Av1VideoConfiguration;