141 lines
4.1 KiB
Java
141 lines
4.1 KiB
Java
package co.discord.media_engine.internal;
|
|
|
|
import c.d.b.a.a;
|
|
/* compiled from: NativeStatistics.kt */
|
|
public final class RtcpStats {
|
|
private final int firPackets;
|
|
private final float fractionLost;
|
|
private final int nackPackets;
|
|
private final int nackRequests;
|
|
private final int packetsLost;
|
|
private final int pliPackets;
|
|
private final int uniqueNackRequests;
|
|
|
|
public RtcpStats(float f, int i, int i2, int i3, int i4, int i5, int i6) {
|
|
this.fractionLost = f;
|
|
this.packetsLost = i;
|
|
this.firPackets = i2;
|
|
this.nackPackets = i3;
|
|
this.nackRequests = i4;
|
|
this.pliPackets = i5;
|
|
this.uniqueNackRequests = i6;
|
|
}
|
|
|
|
public static /* synthetic */ RtcpStats copy$default(RtcpStats rtcpStats, float f, int i, int i2, int i3, int i4, int i5, int i6, int i7, Object obj) {
|
|
if ((i7 & 1) != 0) {
|
|
f = rtcpStats.fractionLost;
|
|
}
|
|
if ((i7 & 2) != 0) {
|
|
i = rtcpStats.packetsLost;
|
|
}
|
|
if ((i7 & 4) != 0) {
|
|
i2 = rtcpStats.firPackets;
|
|
}
|
|
if ((i7 & 8) != 0) {
|
|
i3 = rtcpStats.nackPackets;
|
|
}
|
|
if ((i7 & 16) != 0) {
|
|
i4 = rtcpStats.nackRequests;
|
|
}
|
|
if ((i7 & 32) != 0) {
|
|
i5 = rtcpStats.pliPackets;
|
|
}
|
|
if ((i7 & 64) != 0) {
|
|
i6 = rtcpStats.uniqueNackRequests;
|
|
}
|
|
return rtcpStats.copy(f, i, i2, i3, i4, i5, i6);
|
|
}
|
|
|
|
public final float component1() {
|
|
return this.fractionLost;
|
|
}
|
|
|
|
public final int component2() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final int component3() {
|
|
return this.firPackets;
|
|
}
|
|
|
|
public final int component4() {
|
|
return this.nackPackets;
|
|
}
|
|
|
|
public final int component5() {
|
|
return this.nackRequests;
|
|
}
|
|
|
|
public final int component6() {
|
|
return this.pliPackets;
|
|
}
|
|
|
|
public final int component7() {
|
|
return this.uniqueNackRequests;
|
|
}
|
|
|
|
public final RtcpStats copy(float f, int i, int i2, int i3, int i4, int i5, int i6) {
|
|
return new RtcpStats(f, i, i2, i3, i4, i5, i6);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof RtcpStats)) {
|
|
return false;
|
|
}
|
|
RtcpStats rtcpStats = (RtcpStats) obj;
|
|
return Float.compare(this.fractionLost, rtcpStats.fractionLost) == 0 && this.packetsLost == rtcpStats.packetsLost && this.firPackets == rtcpStats.firPackets && this.nackPackets == rtcpStats.nackPackets && this.nackRequests == rtcpStats.nackRequests && this.pliPackets == rtcpStats.pliPackets && this.uniqueNackRequests == rtcpStats.uniqueNackRequests;
|
|
}
|
|
|
|
public final int getFirPackets() {
|
|
return this.firPackets;
|
|
}
|
|
|
|
public final float getFractionLost() {
|
|
return this.fractionLost;
|
|
}
|
|
|
|
public final int getNackPackets() {
|
|
return this.nackPackets;
|
|
}
|
|
|
|
public final int getNackRequests() {
|
|
return this.nackRequests;
|
|
}
|
|
|
|
public final int getPacketsLost() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final int getPliPackets() {
|
|
return this.pliPackets;
|
|
}
|
|
|
|
public final int getUniqueNackRequests() {
|
|
return this.uniqueNackRequests;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((((((((Float.floatToIntBits(this.fractionLost) * 31) + this.packetsLost) * 31) + this.firPackets) * 31) + this.nackPackets) * 31) + this.nackRequests) * 31) + this.pliPackets) * 31) + this.uniqueNackRequests;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("RtcpStats(fractionLost=");
|
|
L.append(this.fractionLost);
|
|
L.append(", packetsLost=");
|
|
L.append(this.packetsLost);
|
|
L.append(", firPackets=");
|
|
L.append(this.firPackets);
|
|
L.append(", nackPackets=");
|
|
L.append(this.nackPackets);
|
|
L.append(", nackRequests=");
|
|
L.append(this.nackRequests);
|
|
L.append(", pliPackets=");
|
|
L.append(this.pliPackets);
|
|
L.append(", uniqueNackRequests=");
|
|
return a.z(L, this.uniqueNackRequests, ")");
|
|
}
|
|
}
|