UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

32 lines (31 loc) 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MuxingInformationVideoTrack = void 0; const Mapper_1 = require("../common/Mapper"); /** * @export * @class MuxingInformationVideoTrack */ class MuxingInformationVideoTrack { constructor(obj) { if (!obj) { return; } this.index = (0, Mapper_1.map)(obj.index); this.codec = (0, Mapper_1.map)(obj.codec); this.codecIso = (0, Mapper_1.map)(obj.codecIso); this.bitRate = (0, Mapper_1.map)(obj.bitRate); this.rate = (0, Mapper_1.map)(obj.rate); this.pixelFormat = (0, Mapper_1.map)(obj.pixelFormat); this.frameMode = (0, Mapper_1.map)(obj.frameMode); this.frameWidth = (0, Mapper_1.map)(obj.frameWidth); this.frameHeight = (0, Mapper_1.map)(obj.frameHeight); this.frameRate = (0, Mapper_1.map)(obj.frameRate); this.startTime = (0, Mapper_1.map)(obj.startTime); this.duration = (0, Mapper_1.map)(obj.duration); this.numberOfFrames = (0, Mapper_1.map)(obj.numberOfFrames); this.aspectRatio = (0, Mapper_1.map)(obj.aspectRatio); } } exports.MuxingInformationVideoTrack = MuxingInformationVideoTrack; exports.default = MuxingInformationVideoTrack;