UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

28 lines (27 loc) 926 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContentProtection = void 0; const Mapper_1 = require("../common/Mapper"); const DashMuxingRepresentation_1 = require("./DashMuxingRepresentation"); const DashRepresentationTypeDiscriminator_1 = require("./DashRepresentationTypeDiscriminator"); /** * @export * @class ContentProtection */ class ContentProtection extends DashMuxingRepresentation_1.default { constructor(obj) { super(obj); /** * Discriminator property for DashRepresentation * @type {string} * @memberof ContentProtection */ this.typeDiscriminator = DashRepresentationTypeDiscriminator_1.default.CONTENT_PROTECTION; if (!obj) { return; } this.drmId = (0, Mapper_1.map)(obj.drmId); } } exports.ContentProtection = ContentProtection; exports.default = ContentProtection;