@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
27 lines (26 loc) • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProgressiveMuxingInformation = void 0;
const Mapper_1 = require("../common/Mapper");
const MuxingInformationAudioTrack_1 = require("./MuxingInformationAudioTrack");
const MuxingInformationVideoTrack_1 = require("./MuxingInformationVideoTrack");
/**
* @export
* @class ProgressiveMuxingInformation
*/
class ProgressiveMuxingInformation {
constructor(obj) {
if (!obj) {
return;
}
this.mimeType = (0, Mapper_1.map)(obj.mimeType);
this.fileSize = (0, Mapper_1.map)(obj.fileSize);
this.containerFormat = (0, Mapper_1.map)(obj.containerFormat);
this.containerBitrate = (0, Mapper_1.map)(obj.containerBitrate);
this.duration = (0, Mapper_1.map)(obj.duration);
this.videoTracks = (0, Mapper_1.mapArray)(obj.videoTracks, MuxingInformationVideoTrack_1.default);
this.audioTracks = (0, Mapper_1.mapArray)(obj.audioTracks, MuxingInformationAudioTrack_1.default);
}
}
exports.ProgressiveMuxingInformation = ProgressiveMuxingInformation;
exports.default = ProgressiveMuxingInformation;