@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
25 lines (24 loc) • 832 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SrtStatisticSend = void 0;
const Mapper_1 = require("../common/Mapper");
/**
* @export
* @class SrtStatisticSend
*/
class SrtStatisticSend {
constructor(obj) {
if (!obj) {
return;
}
this.bytes = (0, Mapper_1.map)(obj.bytes);
this.bytesDropped = (0, Mapper_1.map)(obj.bytesDropped);
this.mbitRate = (0, Mapper_1.map)(obj.mbitRate);
this.packets = (0, Mapper_1.map)(obj.packets);
this.packetsDropped = (0, Mapper_1.map)(obj.packetsDropped);
this.packetsLost = (0, Mapper_1.map)(obj.packetsLost);
this.packetsRetransmitted = (0, Mapper_1.map)(obj.packetsRetransmitted);
}
}
exports.SrtStatisticSend = SrtStatisticSend;
exports.default = SrtStatisticSend;