discord-jadx/app/src/main/java/co/discord/media_engine/internal/RtcpStats.java

125 lines
3.9 KiB
Java

package co.discord.media_engine.internal;
import a0.a.a.b;
import c.d.b.a.a;
/* compiled from: NativeStatistics.kt */
public final class RtcpStats {
private final long firPackets;
private final int fractionLost;
private final long nackPackets;
private final long nackRequests;
private final int packetsLost;
private final long pliPackets;
private final long uniqueNackRequests;
public RtcpStats(int i, int i2, long j, long j2, long j3, long j4, long j5) {
this.fractionLost = i;
this.packetsLost = i2;
this.firPackets = j;
this.nackPackets = j2;
this.nackRequests = j3;
this.pliPackets = j4;
this.uniqueNackRequests = j5;
}
public static /* synthetic */ RtcpStats copy$default(RtcpStats rtcpStats, int i, int i2, long j, long j2, long j3, long j4, long j5, int i3, Object obj) {
return rtcpStats.copy((i3 & 1) != 0 ? rtcpStats.fractionLost : i, (i3 & 2) != 0 ? rtcpStats.packetsLost : i2, (i3 & 4) != 0 ? rtcpStats.firPackets : j, (i3 & 8) != 0 ? rtcpStats.nackPackets : j2, (i3 & 16) != 0 ? rtcpStats.nackRequests : j3, (i3 & 32) != 0 ? rtcpStats.pliPackets : j4, (i3 & 64) != 0 ? rtcpStats.uniqueNackRequests : j5);
}
public final int component1() {
return this.fractionLost;
}
public final int component2() {
return this.packetsLost;
}
public final long component3() {
return this.firPackets;
}
public final long component4() {
return this.nackPackets;
}
public final long component5() {
return this.nackRequests;
}
public final long component6() {
return this.pliPackets;
}
public final long component7() {
return this.uniqueNackRequests;
}
public final RtcpStats copy(int i, int i2, long j, long j2, long j3, long j4, long j5) {
return new RtcpStats(i, i2, j, j2, j3, j4, j5);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RtcpStats)) {
return false;
}
RtcpStats rtcpStats = (RtcpStats) obj;
return this.fractionLost == rtcpStats.fractionLost && 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 long getFirPackets() {
return this.firPackets;
}
public final int getFractionLost() {
return this.fractionLost;
}
public final long getNackPackets() {
return this.nackPackets;
}
public final long getNackRequests() {
return this.nackRequests;
}
public final int getPacketsLost() {
return this.packetsLost;
}
public final long getPliPackets() {
return this.pliPackets;
}
public final long getUniqueNackRequests() {
return this.uniqueNackRequests;
}
public int hashCode() {
int a = b.a(this.firPackets);
int a2 = b.a(this.nackPackets);
int a3 = b.a(this.nackRequests);
int a4 = b.a(this.pliPackets);
return b.a(this.uniqueNackRequests) + ((a4 + ((a3 + ((a2 + ((a + (((this.fractionLost * 31) + this.packetsLost) * 31)) * 31)) * 31)) * 31)) * 31);
}
public String toString() {
StringBuilder K = a.K("RtcpStats(fractionLost=");
K.append(this.fractionLost);
K.append(", packetsLost=");
K.append(this.packetsLost);
K.append(", firPackets=");
K.append(this.firPackets);
K.append(", nackPackets=");
K.append(this.nackPackets);
K.append(", nackRequests=");
K.append(this.nackRequests);
K.append(", pliPackets=");
K.append(this.pliPackets);
K.append(", uniqueNackRequests=");
return a.y(K, this.uniqueNackRequests, ")");
}
}