UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

27 lines (26 loc) 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DashSegmentedRepresentation = void 0; const Mapper_1 = require("../common/Mapper"); const DashMuxingRepresentation_1 = require("./DashMuxingRepresentation"); /** * @export * @class DashSegmentedRepresentation */ class DashSegmentedRepresentation extends DashMuxingRepresentation_1.default { constructor(obj) { super(obj); if (!obj) { return; } this.type = (0, Mapper_1.map)(obj.type); this.mode = (0, Mapper_1.map)(obj.mode); this.segmentPath = (0, Mapper_1.map)(obj.segmentPath); this.startSegmentNumber = (0, Mapper_1.map)(obj.startSegmentNumber); this.endSegmentNumber = (0, Mapper_1.map)(obj.endSegmentNumber); this.startKeyframeId = (0, Mapper_1.map)(obj.startKeyframeId); this.endKeyframeId = (0, Mapper_1.map)(obj.endKeyframeId); } } exports.DashSegmentedRepresentation = DashSegmentedRepresentation; exports.default = DashSegmentedRepresentation;