UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

28 lines (27 loc) 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PerTitle = void 0; const Mapper_1 = require("../common/Mapper"); const Av1PerTitleConfiguration_1 = require("./Av1PerTitleConfiguration"); const H264PerTitleConfiguration_1 = require("./H264PerTitleConfiguration"); const H265PerTitleConfiguration_1 = require("./H265PerTitleConfiguration"); const H265V2PerTitleConfiguration_1 = require("./H265V2PerTitleConfiguration"); const Vp9PerTitleConfiguration_1 = require("./Vp9PerTitleConfiguration"); /** * @export * @class PerTitle */ class PerTitle { constructor(obj) { if (!obj) { return; } this.h264Configuration = (0, Mapper_1.map)(obj.h264Configuration, H264PerTitleConfiguration_1.default); this.h265Configuration = (0, Mapper_1.map)(obj.h265Configuration, H265PerTitleConfiguration_1.default); this.vp9Configuration = (0, Mapper_1.map)(obj.vp9Configuration, Vp9PerTitleConfiguration_1.default); this.av1Configuration = (0, Mapper_1.map)(obj.av1Configuration, Av1PerTitleConfiguration_1.default); this.h265V2Configuration = (0, Mapper_1.map)(obj.h265V2Configuration, H265V2PerTitleConfiguration_1.default); } } exports.PerTitle = PerTitle; exports.default = PerTitle;