sinch-rtc
Version:
RTC JavaScript/Web SDK
18 lines • 757 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HighInboundPacketLossWarningEvent = void 0;
/**
* Warning event issued when packet loss is greater then 1% in 3 out of last 4 samples.
*
* @param type - `Trigger` when the warning is emitted, `Recover` when the warning is recovered.
* @param mediaStreamType - The media stream type that the warning is related to.
*/
class HighInboundPacketLossWarningEvent {
constructor(type, mediaStreamType) {
this.type = type;
this.mediaStreamType = mediaStreamType;
this.name = "highInboundPacketLoss";
}
}
exports.HighInboundPacketLossWarningEvent = HighInboundPacketLossWarningEvent;
//# sourceMappingURL=HighInboundPacketLossWarningEvent.js.map