@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
36 lines (35 loc) • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.H262VideoConfiguration = void 0;
const Mapper_1 = require("../common/Mapper");
const CodecConfigType_1 = require("./CodecConfigType");
const VideoConfiguration_1 = require("./VideoConfiguration");
/**
* @export
* @class H262VideoConfiguration
*/
class H262VideoConfiguration extends VideoConfiguration_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for CodecConfiguration
* @type {string}
* @memberof H262VideoConfiguration
*/
this.type = CodecConfigType_1.default.H262;
if (!obj) {
return;
}
this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
this.profile = (0, Mapper_1.map)(obj.profile);
this.bframes = (0, Mapper_1.map)(obj.bframes);
this.maxBitrate = (0, Mapper_1.map)(obj.maxBitrate);
this.minBitrate = (0, Mapper_1.map)(obj.minBitrate);
this.bufsize = (0, Mapper_1.map)(obj.bufsize);
this.gopSize = (0, Mapper_1.map)(obj.gopSize);
this.level = (0, Mapper_1.map)(obj.level);
this.interlaceMode = (0, Mapper_1.map)(obj.interlaceMode);
}
}
exports.H262VideoConfiguration = H262VideoConfiguration;
exports.default = H262VideoConfiguration;