135 lines
4.6 KiB
Java
135 lines
4.6 KiB
Java
package co.discord.media_engine.internal;
|
|
|
|
import a0.a.a.b;
|
|
import c.d.b.a.a;
|
|
import co.discord.media_engine.ReceiverReport;
|
|
import d0.z.d.m;
|
|
import java.util.Arrays;
|
|
/* compiled from: NativeStatistics.kt */
|
|
public final class Transport {
|
|
private final long decryptionFailures;
|
|
private final String localAddress;
|
|
private final int maxPaddingBitrate;
|
|
private final long pacerDelay;
|
|
private final ReceiverReport[] receiverReports;
|
|
private final int rtt;
|
|
private final int sendBandwidth;
|
|
|
|
public Transport(long j, int i, long j2, int i2, int i3, String str, ReceiverReport[] receiverReportArr) {
|
|
m.checkNotNullParameter(str, "localAddress");
|
|
this.decryptionFailures = j;
|
|
this.maxPaddingBitrate = i;
|
|
this.pacerDelay = j2;
|
|
this.rtt = i2;
|
|
this.sendBandwidth = i3;
|
|
this.localAddress = str;
|
|
this.receiverReports = receiverReportArr;
|
|
}
|
|
|
|
public static /* synthetic */ Transport copy$default(Transport transport, long j, int i, long j2, int i2, int i3, String str, ReceiverReport[] receiverReportArr, int i4, Object obj) {
|
|
return transport.copy((i4 & 1) != 0 ? transport.decryptionFailures : j, (i4 & 2) != 0 ? transport.maxPaddingBitrate : i, (i4 & 4) != 0 ? transport.pacerDelay : j2, (i4 & 8) != 0 ? transport.rtt : i2, (i4 & 16) != 0 ? transport.sendBandwidth : i3, (i4 & 32) != 0 ? transport.localAddress : str, (i4 & 64) != 0 ? transport.receiverReports : receiverReportArr);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.decryptionFailures;
|
|
}
|
|
|
|
public final int component2() {
|
|
return this.maxPaddingBitrate;
|
|
}
|
|
|
|
public final long component3() {
|
|
return this.pacerDelay;
|
|
}
|
|
|
|
public final int component4() {
|
|
return this.rtt;
|
|
}
|
|
|
|
public final int component5() {
|
|
return this.sendBandwidth;
|
|
}
|
|
|
|
public final String component6() {
|
|
return this.localAddress;
|
|
}
|
|
|
|
public final ReceiverReport[] component7() {
|
|
return this.receiverReports;
|
|
}
|
|
|
|
public final Transport copy(long j, int i, long j2, int i2, int i3, String str, ReceiverReport[] receiverReportArr) {
|
|
m.checkNotNullParameter(str, "localAddress");
|
|
return new Transport(j, i, j2, i2, i3, str, receiverReportArr);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof Transport)) {
|
|
return false;
|
|
}
|
|
Transport transport = (Transport) obj;
|
|
return this.decryptionFailures == transport.decryptionFailures && this.maxPaddingBitrate == transport.maxPaddingBitrate && this.pacerDelay == transport.pacerDelay && this.rtt == transport.rtt && this.sendBandwidth == transport.sendBandwidth && m.areEqual(this.localAddress, transport.localAddress) && m.areEqual(this.receiverReports, transport.receiverReports);
|
|
}
|
|
|
|
public final long getDecryptionFailures() {
|
|
return this.decryptionFailures;
|
|
}
|
|
|
|
public final String getLocalAddress() {
|
|
return this.localAddress;
|
|
}
|
|
|
|
public final int getMaxPaddingBitrate() {
|
|
return this.maxPaddingBitrate;
|
|
}
|
|
|
|
public final long getPacerDelay() {
|
|
return this.pacerDelay;
|
|
}
|
|
|
|
public final ReceiverReport[] getReceiverReports() {
|
|
return this.receiverReports;
|
|
}
|
|
|
|
public final int getRtt() {
|
|
return this.rtt;
|
|
}
|
|
|
|
public final int getSendBandwidth() {
|
|
return this.sendBandwidth;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int a = (((((b.a(this.pacerDelay) + (((b.a(this.decryptionFailures) * 31) + this.maxPaddingBitrate) * 31)) * 31) + this.rtt) * 31) + this.sendBandwidth) * 31;
|
|
String str = this.localAddress;
|
|
int i = 0;
|
|
int hashCode = (a + (str != null ? str.hashCode() : 0)) * 31;
|
|
ReceiverReport[] receiverReportArr = this.receiverReports;
|
|
if (receiverReportArr != null) {
|
|
i = Arrays.hashCode(receiverReportArr);
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder O = a.O("Transport(decryptionFailures=");
|
|
O.append(this.decryptionFailures);
|
|
O.append(", maxPaddingBitrate=");
|
|
O.append(this.maxPaddingBitrate);
|
|
O.append(", pacerDelay=");
|
|
O.append(this.pacerDelay);
|
|
O.append(", rtt=");
|
|
O.append(this.rtt);
|
|
O.append(", sendBandwidth=");
|
|
O.append(this.sendBandwidth);
|
|
O.append(", localAddress=");
|
|
O.append(this.localAddress);
|
|
O.append(", receiverReports=");
|
|
O.append(Arrays.toString(this.receiverReports));
|
|
O.append(")");
|
|
return O.toString();
|
|
}
|
|
}
|