2021-08-03 07:33:18 +00:00
|
|
|
package co.discord.media_engine.internal;
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import a0.a.a.b;
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-03 07:33:18 +00:00
|
|
|
import co.discord.media_engine.ReceiverReport;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import java.util.Arrays;
|
|
|
|
/* compiled from: NativeStatistics.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
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() {
|
2022-03-14 07:58:47 +00:00
|
|
|
StringBuilder S = a.S("Transport(decryptionFailures=");
|
|
|
|
S.append(this.decryptionFailures);
|
|
|
|
S.append(", maxPaddingBitrate=");
|
|
|
|
S.append(this.maxPaddingBitrate);
|
|
|
|
S.append(", pacerDelay=");
|
|
|
|
S.append(this.pacerDelay);
|
|
|
|
S.append(", rtt=");
|
|
|
|
S.append(this.rtt);
|
|
|
|
S.append(", sendBandwidth=");
|
|
|
|
S.append(this.sendBandwidth);
|
|
|
|
S.append(", localAddress=");
|
|
|
|
S.append(this.localAddress);
|
|
|
|
S.append(", receiverReports=");
|
|
|
|
S.append(Arrays.toString(this.receiverReports));
|
|
|
|
S.append(")");
|
|
|
|
return S.toString();
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|