@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
25 lines (24 loc) • 853 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamInput = void 0;
const Mapper_1 = require("../common/Mapper");
const EncodingStreamInputDetails_1 = require("./EncodingStreamInputDetails");
/**
* @export
* @class StreamInput
*/
class StreamInput {
constructor(obj) {
if (!obj) {
return;
}
this.inputId = (0, Mapper_1.map)(obj.inputId);
this.inputPath = (0, Mapper_1.map)(obj.inputPath);
this.selectionMode = (0, Mapper_1.map)(obj.selectionMode);
this.position = (0, Mapper_1.map)(obj.position);
this.inputStreamId = (0, Mapper_1.map)(obj.inputStreamId);
this.analysisDetails = (0, Mapper_1.map)(obj.analysisDetails, EncodingStreamInputDetails_1.default);
}
}
exports.StreamInput = StreamInput;
exports.default = StreamInput;