99 lines
3.2 KiB
Java
99 lines
3.2 KiB
Java
|
package co.discord.media_engine.internal;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: NativeStatistics.kt */
|
||
|
public final class RtpStats {
|
||
|
private final PacketStats fec;
|
||
|
private final PacketStats retransmitted;
|
||
|
private final PacketStats transmitted;
|
||
|
|
||
|
public RtpStats(PacketStats packetStats, PacketStats packetStats2, PacketStats packetStats3) {
|
||
|
m.checkNotNullParameter(packetStats, "fec");
|
||
|
m.checkNotNullParameter(packetStats2, "retransmitted");
|
||
|
m.checkNotNullParameter(packetStats3, "transmitted");
|
||
|
this.fec = packetStats;
|
||
|
this.retransmitted = packetStats2;
|
||
|
this.transmitted = packetStats3;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ RtpStats copy$default(RtpStats rtpStats, PacketStats packetStats, PacketStats packetStats2, PacketStats packetStats3, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
packetStats = rtpStats.fec;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
packetStats2 = rtpStats.retransmitted;
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
packetStats3 = rtpStats.transmitted;
|
||
|
}
|
||
|
return rtpStats.copy(packetStats, packetStats2, packetStats3);
|
||
|
}
|
||
|
|
||
|
public final PacketStats component1() {
|
||
|
return this.fec;
|
||
|
}
|
||
|
|
||
|
public final PacketStats component2() {
|
||
|
return this.retransmitted;
|
||
|
}
|
||
|
|
||
|
public final PacketStats component3() {
|
||
|
return this.transmitted;
|
||
|
}
|
||
|
|
||
|
public final RtpStats copy(PacketStats packetStats, PacketStats packetStats2, PacketStats packetStats3) {
|
||
|
m.checkNotNullParameter(packetStats, "fec");
|
||
|
m.checkNotNullParameter(packetStats2, "retransmitted");
|
||
|
m.checkNotNullParameter(packetStats3, "transmitted");
|
||
|
return new RtpStats(packetStats, packetStats2, packetStats3);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof RtpStats)) {
|
||
|
return false;
|
||
|
}
|
||
|
RtpStats rtpStats = (RtpStats) obj;
|
||
|
return m.areEqual(this.fec, rtpStats.fec) && m.areEqual(this.retransmitted, rtpStats.retransmitted) && m.areEqual(this.transmitted, rtpStats.transmitted);
|
||
|
}
|
||
|
|
||
|
public final PacketStats getFec() {
|
||
|
return this.fec;
|
||
|
}
|
||
|
|
||
|
public final PacketStats getRetransmitted() {
|
||
|
return this.retransmitted;
|
||
|
}
|
||
|
|
||
|
public final PacketStats getTransmitted() {
|
||
|
return this.transmitted;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
PacketStats packetStats = this.fec;
|
||
|
int i = 0;
|
||
|
int hashCode = (packetStats != null ? packetStats.hashCode() : 0) * 31;
|
||
|
PacketStats packetStats2 = this.retransmitted;
|
||
|
int hashCode2 = (hashCode + (packetStats2 != null ? packetStats2.hashCode() : 0)) * 31;
|
||
|
PacketStats packetStats3 = this.transmitted;
|
||
|
if (packetStats3 != null) {
|
||
|
i = packetStats3.hashCode();
|
||
|
}
|
||
|
return hashCode2 + i;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("RtpStats(fec=");
|
||
|
L.append(this.fec);
|
||
|
L.append(", retransmitted=");
|
||
|
L.append(this.retransmitted);
|
||
|
L.append(", transmitted=");
|
||
|
L.append(this.transmitted);
|
||
|
L.append(")");
|
||
|
return L.toString();
|
||
|
}
|
||
|
}
|