@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
21 lines (20 loc) • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamInfos = void 0;
const Mapper_1 = require("../common/Mapper");
const StreamInfosDetails_1 = require("./StreamInfosDetails");
/**
* @export
* @class StreamInfos
*/
class StreamInfos {
constructor(obj) {
if (!obj) {
return;
}
this.time = (0, Mapper_1.map)(obj.time, Date);
this.streamInfos = (0, Mapper_1.mapArray)(obj.streamInfos, StreamInfosDetails_1.default);
}
}
exports.StreamInfos = StreamInfos;
exports.default = StreamInfos;