@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
22 lines (21 loc) • 704 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StaticRtmpIngestPoint = void 0;
const Mapper_1 = require("../common/Mapper");
const StreamKeyConfiguration_1 = require("./StreamKeyConfiguration");
/**
* @export
* @class StaticRtmpIngestPoint
*/
class StaticRtmpIngestPoint {
constructor(obj) {
if (!obj) {
return;
}
this.id = (0, Mapper_1.map)(obj.id);
this.name = (0, Mapper_1.map)(obj.name);
this.streamKeyConfiguration = (0, Mapper_1.map)(obj.streamKeyConfiguration, StreamKeyConfiguration_1.default);
}
}
exports.StaticRtmpIngestPoint = StaticRtmpIngestPoint;
exports.default = StaticRtmpIngestPoint;