@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
28 lines (27 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SrtStatisticRecv = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* @export
* @class SrtStatisticRecv
*/
var SrtStatisticRecv = /** @class */ (function () {
function SrtStatisticRecv(obj) {
if (!obj) {
return;
}
this.bytes = (0, Mapper_1.map)(obj.bytes);
this.bytesDropped = (0, Mapper_1.map)(obj.bytesDropped);
this.bytesLost = (0, Mapper_1.map)(obj.bytesLost);
this.mbitRate = (0, Mapper_1.map)(obj.mbitRate);
this.packets = (0, Mapper_1.map)(obj.packets);
this.packetsBelated = (0, Mapper_1.map)(obj.packetsBelated);
this.packetsDropped = (0, Mapper_1.map)(obj.packetsDropped);
this.packetsLost = (0, Mapper_1.map)(obj.packetsLost);
this.packetsRetransmitted = (0, Mapper_1.map)(obj.packetsRetransmitted);
}
return SrtStatisticRecv;
}());
exports.SrtStatisticRecv = SrtStatisticRecv;
exports.default = SrtStatisticRecv;