UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

27 lines (26 loc) 960 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SrtStatisticRecv = void 0; const Mapper_1 = require("../common/Mapper"); /** * @export * @class SrtStatisticRecv */ class SrtStatisticRecv { constructor(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); } } exports.SrtStatisticRecv = SrtStatisticRecv; exports.default = SrtStatisticRecv;