@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
25 lines (24 loc) • 887 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.H265V2RateControlModeConfig = void 0;
const Mapper_1 = require("../common/Mapper");
/**
* Rate control mode configuration. Use H265V2PerceptualQualityModeConfig for PQP mode or H265V2ConstantBitrateModeConfig for CBR mode.
* @export
* @class H265V2RateControlModeConfig
*/
class H265V2RateControlModeConfig {
constructor(obj) {
if (!obj) {
return;
}
this.type = (0, Mapper_1.map)(obj.type);
}
}
exports.H265V2RateControlModeConfig = H265V2RateControlModeConfig;
H265V2RateControlModeConfig._discriminatorName = 'type';
H265V2RateControlModeConfig._discriminatorMapping = {
"PERCEPTUAL_QUALITY_MODE": 'H265V2PerceptualQualityModeConfig',
"CONSTANT_BITRATE_MODE": 'H265V2ConstantBitrateModeConfig'
};
exports.default = H265V2RateControlModeConfig;