112 lines
3.5 KiB
Java
112 lines
3.5 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 InboundRtpStats {
|
|
private final long headerBytes;
|
|
private final long jitter;
|
|
private final long packets;
|
|
private final int packetsLost;
|
|
private final long paddingBytes;
|
|
private final long payloadBytes;
|
|
|
|
public InboundRtpStats(long j, long j2, int i, long j3, long j4, long j5) {
|
|
this.packets = j;
|
|
this.jitter = j2;
|
|
this.packetsLost = i;
|
|
this.headerBytes = j3;
|
|
this.paddingBytes = j4;
|
|
this.payloadBytes = j5;
|
|
}
|
|
|
|
public static /* synthetic */ InboundRtpStats copy$default(InboundRtpStats inboundRtpStats, long j, long j2, int i, long j3, long j4, long j5, int i2, Object obj) {
|
|
return inboundRtpStats.copy((i2 & 1) != 0 ? inboundRtpStats.packets : j, (i2 & 2) != 0 ? inboundRtpStats.jitter : j2, (i2 & 4) != 0 ? inboundRtpStats.packetsLost : i, (i2 & 8) != 0 ? inboundRtpStats.headerBytes : j3, (i2 & 16) != 0 ? inboundRtpStats.paddingBytes : j4, (i2 & 32) != 0 ? inboundRtpStats.payloadBytes : j5);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.packets;
|
|
}
|
|
|
|
public final long component2() {
|
|
return this.jitter;
|
|
}
|
|
|
|
public final int component3() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final long component4() {
|
|
return this.headerBytes;
|
|
}
|
|
|
|
public final long component5() {
|
|
return this.paddingBytes;
|
|
}
|
|
|
|
public final long component6() {
|
|
return this.payloadBytes;
|
|
}
|
|
|
|
public final InboundRtpStats copy(long j, long j2, int i, long j3, long j4, long j5) {
|
|
return new InboundRtpStats(j, j2, i, j3, j4, j5);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof InboundRtpStats)) {
|
|
return false;
|
|
}
|
|
InboundRtpStats inboundRtpStats = (InboundRtpStats) obj;
|
|
return this.packets == inboundRtpStats.packets && this.jitter == inboundRtpStats.jitter && this.packetsLost == inboundRtpStats.packetsLost && this.headerBytes == inboundRtpStats.headerBytes && this.paddingBytes == inboundRtpStats.paddingBytes && this.payloadBytes == inboundRtpStats.payloadBytes;
|
|
}
|
|
|
|
public final long getHeaderBytes() {
|
|
return this.headerBytes;
|
|
}
|
|
|
|
public final long getJitter() {
|
|
return this.jitter;
|
|
}
|
|
|
|
public final long getPackets() {
|
|
return this.packets;
|
|
}
|
|
|
|
public final int getPacketsLost() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final long getPaddingBytes() {
|
|
return this.paddingBytes;
|
|
}
|
|
|
|
public final long getPayloadBytes() {
|
|
return this.payloadBytes;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int a = b.a(this.jitter);
|
|
int a2 = b.a(this.headerBytes);
|
|
int a3 = b.a(this.paddingBytes);
|
|
return b.a(this.payloadBytes) + ((a3 + ((a2 + ((((a + (b.a(this.packets) * 31)) * 31) + this.packetsLost) * 31)) * 31)) * 31);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("InboundRtpStats(packets=");
|
|
K.append(this.packets);
|
|
K.append(", jitter=");
|
|
K.append(this.jitter);
|
|
K.append(", packetsLost=");
|
|
K.append(this.packetsLost);
|
|
K.append(", headerBytes=");
|
|
K.append(this.headerBytes);
|
|
K.append(", paddingBytes=");
|
|
K.append(this.paddingBytes);
|
|
K.append(", payloadBytes=");
|
|
return a.y(K, this.payloadBytes, ")");
|
|
}
|
|
}
|