UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

30 lines (29 loc) 787 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FairPlayDrm = void 0; const Mapper_1 = require("../common/Mapper"); const Drm_1 = require("./Drm"); const DrmType_1 = require("./DrmType"); /** * @export * @class FairPlayDrm */ class FairPlayDrm extends Drm_1.default { constructor(obj) { super(obj); /** * Discriminator property for Drm * @type {string} * @memberof FairPlayDrm */ this.type = DrmType_1.default.FAIRPLAY; if (!obj) { return; } this.key = (0, Mapper_1.map)(obj.key); this.iv = (0, Mapper_1.map)(obj.iv); this.uri = (0, Mapper_1.map)(obj.uri); } } exports.FairPlayDrm = FairPlayDrm; exports.default = FairPlayDrm;