discord-jadx/app/src/main/java/co/discord/media_engine/InboundRtpAudio.java

445 lines
18 KiB
Java

package co.discord.media_engine;
import a0.a.a.b;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: Statistics.kt */
public final class InboundRtpAudio {
private final boolean audioDetected;
private final PlayoutMetric audioJitterBuffer;
private final PlayoutMetric audioJitterDelay;
private final PlayoutMetric audioJitterTarget;
private final float audioLevel;
private final PlayoutMetric audioPlayoutUnderruns;
private final long bytesReceived;
private final StatsCodec codec;
private final int decodingCNG;
private final int decodingMutedOutput;
private final int decodingNormal;
private final int decodingPLC;
private final int decodingPLCCNG;
private final int delayEstimate;
private final int jitter;
private final int jitterBuffer;
private final int jitterBufferPreferred;
private final Integer opAccelerate;
private final Integer opCNG;
private final Integer opExpand;
private final Integer opMerge;
private final Integer opNormal;
private final Integer opPreemptiveExpand;
private final Integer opSilence;
private final int packetsLost;
private final int packetsReceived;
private final PlayoutMetric relativePlayoutDelay;
private final PlayoutMetric relativeReceptionDelay;
private final int ssrc;
private final String type;
public InboundRtpAudio(String str, int i, StatsCodec statsCodec, long j, int i2, int i3, float f, boolean z2, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12, Integer num, Integer num2, Integer num3, Integer num4, Integer num5, Integer num6, Integer num7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(statsCodec, "codec");
this.type = str;
this.ssrc = i;
this.codec = statsCodec;
this.bytesReceived = j;
this.packetsReceived = i2;
this.packetsLost = i3;
this.audioLevel = f;
this.audioDetected = z2;
this.jitter = i4;
this.jitterBuffer = i5;
this.jitterBufferPreferred = i6;
this.delayEstimate = i7;
this.decodingCNG = i8;
this.decodingMutedOutput = i9;
this.decodingNormal = i10;
this.decodingPLC = i11;
this.decodingPLCCNG = i12;
this.opSilence = num;
this.opNormal = num2;
this.opMerge = num3;
this.opExpand = num4;
this.opAccelerate = num5;
this.opPreemptiveExpand = num6;
this.opCNG = num7;
this.audioJitterBuffer = playoutMetric;
this.audioJitterDelay = playoutMetric2;
this.audioJitterTarget = playoutMetric3;
this.audioPlayoutUnderruns = playoutMetric4;
this.relativeReceptionDelay = playoutMetric5;
this.relativePlayoutDelay = playoutMetric6;
}
public static /* synthetic */ InboundRtpAudio copy$default(InboundRtpAudio inboundRtpAudio, String str, int i, StatsCodec statsCodec, long j, int i2, int i3, float f, boolean z2, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12, Integer num, Integer num2, Integer num3, Integer num4, Integer num5, Integer num6, Integer num7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6, int i13, Object obj) {
return inboundRtpAudio.copy((i13 & 1) != 0 ? inboundRtpAudio.type : str, (i13 & 2) != 0 ? inboundRtpAudio.ssrc : i, (i13 & 4) != 0 ? inboundRtpAudio.codec : statsCodec, (i13 & 8) != 0 ? inboundRtpAudio.bytesReceived : j, (i13 & 16) != 0 ? inboundRtpAudio.packetsReceived : i2, (i13 & 32) != 0 ? inboundRtpAudio.packetsLost : i3, (i13 & 64) != 0 ? inboundRtpAudio.audioLevel : f, (i13 & 128) != 0 ? inboundRtpAudio.audioDetected : z2, (i13 & 256) != 0 ? inboundRtpAudio.jitter : i4, (i13 & 512) != 0 ? inboundRtpAudio.jitterBuffer : i5, (i13 & 1024) != 0 ? inboundRtpAudio.jitterBufferPreferred : i6, (i13 & 2048) != 0 ? inboundRtpAudio.delayEstimate : i7, (i13 & 4096) != 0 ? inboundRtpAudio.decodingCNG : i8, (i13 & 8192) != 0 ? inboundRtpAudio.decodingMutedOutput : i9, (i13 & 16384) != 0 ? inboundRtpAudio.decodingNormal : i10, (i13 & 32768) != 0 ? inboundRtpAudio.decodingPLC : i11, (i13 & 65536) != 0 ? inboundRtpAudio.decodingPLCCNG : i12, (i13 & 131072) != 0 ? inboundRtpAudio.opSilence : num, (i13 & 262144) != 0 ? inboundRtpAudio.opNormal : num2, (i13 & 524288) != 0 ? inboundRtpAudio.opMerge : num3, (i13 & 1048576) != 0 ? inboundRtpAudio.opExpand : num4, (i13 & 2097152) != 0 ? inboundRtpAudio.opAccelerate : num5, (i13 & 4194304) != 0 ? inboundRtpAudio.opPreemptiveExpand : num6, (i13 & 8388608) != 0 ? inboundRtpAudio.opCNG : num7, (i13 & 16777216) != 0 ? inboundRtpAudio.audioJitterBuffer : playoutMetric, (i13 & 33554432) != 0 ? inboundRtpAudio.audioJitterDelay : playoutMetric2, (i13 & 67108864) != 0 ? inboundRtpAudio.audioJitterTarget : playoutMetric3, (i13 & 134217728) != 0 ? inboundRtpAudio.audioPlayoutUnderruns : playoutMetric4, (i13 & 268435456) != 0 ? inboundRtpAudio.relativeReceptionDelay : playoutMetric5, (i13 & 536870912) != 0 ? inboundRtpAudio.relativePlayoutDelay : playoutMetric6);
}
public final String component1() {
return this.type;
}
public final int component10() {
return this.jitterBuffer;
}
public final int component11() {
return this.jitterBufferPreferred;
}
public final int component12() {
return this.delayEstimate;
}
public final int component13() {
return this.decodingCNG;
}
public final int component14() {
return this.decodingMutedOutput;
}
public final int component15() {
return this.decodingNormal;
}
public final int component16() {
return this.decodingPLC;
}
public final int component17() {
return this.decodingPLCCNG;
}
public final Integer component18() {
return this.opSilence;
}
public final Integer component19() {
return this.opNormal;
}
public final int component2() {
return this.ssrc;
}
public final Integer component20() {
return this.opMerge;
}
public final Integer component21() {
return this.opExpand;
}
public final Integer component22() {
return this.opAccelerate;
}
public final Integer component23() {
return this.opPreemptiveExpand;
}
public final Integer component24() {
return this.opCNG;
}
public final PlayoutMetric component25() {
return this.audioJitterBuffer;
}
public final PlayoutMetric component26() {
return this.audioJitterDelay;
}
public final PlayoutMetric component27() {
return this.audioJitterTarget;
}
public final PlayoutMetric component28() {
return this.audioPlayoutUnderruns;
}
public final PlayoutMetric component29() {
return this.relativeReceptionDelay;
}
public final StatsCodec component3() {
return this.codec;
}
public final PlayoutMetric component30() {
return this.relativePlayoutDelay;
}
public final long component4() {
return this.bytesReceived;
}
public final int component5() {
return this.packetsReceived;
}
public final int component6() {
return this.packetsLost;
}
public final float component7() {
return this.audioLevel;
}
public final boolean component8() {
return this.audioDetected;
}
public final int component9() {
return this.jitter;
}
public final InboundRtpAudio copy(String str, int i, StatsCodec statsCodec, long j, int i2, int i3, float f, boolean z2, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12, Integer num, Integer num2, Integer num3, Integer num4, Integer num5, Integer num6, Integer num7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(statsCodec, "codec");
return new InboundRtpAudio(str, i, statsCodec, j, i2, i3, f, z2, i4, i5, i6, i7, i8, i9, i10, i11, i12, num, num2, num3, num4, num5, num6, num7, playoutMetric, playoutMetric2, playoutMetric3, playoutMetric4, playoutMetric5, playoutMetric6);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof InboundRtpAudio)) {
return false;
}
InboundRtpAudio inboundRtpAudio = (InboundRtpAudio) obj;
return m.areEqual(this.type, inboundRtpAudio.type) && this.ssrc == inboundRtpAudio.ssrc && m.areEqual(this.codec, inboundRtpAudio.codec) && this.bytesReceived == inboundRtpAudio.bytesReceived && this.packetsReceived == inboundRtpAudio.packetsReceived && this.packetsLost == inboundRtpAudio.packetsLost && Float.compare(this.audioLevel, inboundRtpAudio.audioLevel) == 0 && this.audioDetected == inboundRtpAudio.audioDetected && this.jitter == inboundRtpAudio.jitter && this.jitterBuffer == inboundRtpAudio.jitterBuffer && this.jitterBufferPreferred == inboundRtpAudio.jitterBufferPreferred && this.delayEstimate == inboundRtpAudio.delayEstimate && this.decodingCNG == inboundRtpAudio.decodingCNG && this.decodingMutedOutput == inboundRtpAudio.decodingMutedOutput && this.decodingNormal == inboundRtpAudio.decodingNormal && this.decodingPLC == inboundRtpAudio.decodingPLC && this.decodingPLCCNG == inboundRtpAudio.decodingPLCCNG && m.areEqual(this.opSilence, inboundRtpAudio.opSilence) && m.areEqual(this.opNormal, inboundRtpAudio.opNormal) && m.areEqual(this.opMerge, inboundRtpAudio.opMerge) && m.areEqual(this.opExpand, inboundRtpAudio.opExpand) && m.areEqual(this.opAccelerate, inboundRtpAudio.opAccelerate) && m.areEqual(this.opPreemptiveExpand, inboundRtpAudio.opPreemptiveExpand) && m.areEqual(this.opCNG, inboundRtpAudio.opCNG) && m.areEqual(this.audioJitterBuffer, inboundRtpAudio.audioJitterBuffer) && m.areEqual(this.audioJitterDelay, inboundRtpAudio.audioJitterDelay) && m.areEqual(this.audioJitterTarget, inboundRtpAudio.audioJitterTarget) && m.areEqual(this.audioPlayoutUnderruns, inboundRtpAudio.audioPlayoutUnderruns) && m.areEqual(this.relativeReceptionDelay, inboundRtpAudio.relativeReceptionDelay) && m.areEqual(this.relativePlayoutDelay, inboundRtpAudio.relativePlayoutDelay);
}
public final boolean getAudioDetected() {
return this.audioDetected;
}
public final PlayoutMetric getAudioJitterBuffer() {
return this.audioJitterBuffer;
}
public final PlayoutMetric getAudioJitterDelay() {
return this.audioJitterDelay;
}
public final PlayoutMetric getAudioJitterTarget() {
return this.audioJitterTarget;
}
public final float getAudioLevel() {
return this.audioLevel;
}
public final PlayoutMetric getAudioPlayoutUnderruns() {
return this.audioPlayoutUnderruns;
}
public final long getBytesReceived() {
return this.bytesReceived;
}
public final StatsCodec getCodec() {
return this.codec;
}
public final int getDecodingCNG() {
return this.decodingCNG;
}
public final int getDecodingMutedOutput() {
return this.decodingMutedOutput;
}
public final int getDecodingNormal() {
return this.decodingNormal;
}
public final int getDecodingPLC() {
return this.decodingPLC;
}
public final int getDecodingPLCCNG() {
return this.decodingPLCCNG;
}
public final int getDelayEstimate() {
return this.delayEstimate;
}
public final int getJitter() {
return this.jitter;
}
public final int getJitterBuffer() {
return this.jitterBuffer;
}
public final int getJitterBufferPreferred() {
return this.jitterBufferPreferred;
}
public final Integer getOpAccelerate() {
return this.opAccelerate;
}
public final Integer getOpCNG() {
return this.opCNG;
}
public final Integer getOpExpand() {
return this.opExpand;
}
public final Integer getOpMerge() {
return this.opMerge;
}
public final Integer getOpNormal() {
return this.opNormal;
}
public final Integer getOpPreemptiveExpand() {
return this.opPreemptiveExpand;
}
public final Integer getOpSilence() {
return this.opSilence;
}
public final int getPacketsLost() {
return this.packetsLost;
}
public final int getPacketsReceived() {
return this.packetsReceived;
}
public final PlayoutMetric getRelativePlayoutDelay() {
return this.relativePlayoutDelay;
}
public final PlayoutMetric getRelativeReceptionDelay() {
return this.relativeReceptionDelay;
}
public final int getSsrc() {
return this.ssrc;
}
public final String getType() {
return this.type;
}
public int hashCode() {
String str = this.type;
int i = 0;
int hashCode = (((str != null ? str.hashCode() : 0) * 31) + this.ssrc) * 31;
StatsCodec statsCodec = this.codec;
int b = a.b(this.audioLevel, (((((b.a(this.bytesReceived) + ((hashCode + (statsCodec != null ? statsCodec.hashCode() : 0)) * 31)) * 31) + this.packetsReceived) * 31) + this.packetsLost) * 31, 31);
boolean z2 = this.audioDetected;
if (z2) {
z2 = true;
}
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
int i4 = z2 ? 1 : 0;
int i5 = (((((((((((((((((((b + i2) * 31) + this.jitter) * 31) + this.jitterBuffer) * 31) + this.jitterBufferPreferred) * 31) + this.delayEstimate) * 31) + this.decodingCNG) * 31) + this.decodingMutedOutput) * 31) + this.decodingNormal) * 31) + this.decodingPLC) * 31) + this.decodingPLCCNG) * 31;
Integer num = this.opSilence;
int hashCode2 = (i5 + (num != null ? num.hashCode() : 0)) * 31;
Integer num2 = this.opNormal;
int hashCode3 = (hashCode2 + (num2 != null ? num2.hashCode() : 0)) * 31;
Integer num3 = this.opMerge;
int hashCode4 = (hashCode3 + (num3 != null ? num3.hashCode() : 0)) * 31;
Integer num4 = this.opExpand;
int hashCode5 = (hashCode4 + (num4 != null ? num4.hashCode() : 0)) * 31;
Integer num5 = this.opAccelerate;
int hashCode6 = (hashCode5 + (num5 != null ? num5.hashCode() : 0)) * 31;
Integer num6 = this.opPreemptiveExpand;
int hashCode7 = (hashCode6 + (num6 != null ? num6.hashCode() : 0)) * 31;
Integer num7 = this.opCNG;
int hashCode8 = (hashCode7 + (num7 != null ? num7.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric = this.audioJitterBuffer;
int hashCode9 = (hashCode8 + (playoutMetric != null ? playoutMetric.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric2 = this.audioJitterDelay;
int hashCode10 = (hashCode9 + (playoutMetric2 != null ? playoutMetric2.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric3 = this.audioJitterTarget;
int hashCode11 = (hashCode10 + (playoutMetric3 != null ? playoutMetric3.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric4 = this.audioPlayoutUnderruns;
int hashCode12 = (hashCode11 + (playoutMetric4 != null ? playoutMetric4.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric5 = this.relativeReceptionDelay;
int hashCode13 = (hashCode12 + (playoutMetric5 != null ? playoutMetric5.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric6 = this.relativePlayoutDelay;
if (playoutMetric6 != null) {
i = playoutMetric6.hashCode();
}
return hashCode13 + i;
}
public String toString() {
StringBuilder L = a.L("InboundRtpAudio(type=");
L.append(this.type);
L.append(", ssrc=");
L.append(this.ssrc);
L.append(", codec=");
L.append(this.codec);
L.append(", bytesReceived=");
L.append(this.bytesReceived);
L.append(", packetsReceived=");
L.append(this.packetsReceived);
L.append(", packetsLost=");
L.append(this.packetsLost);
L.append(", audioLevel=");
L.append(this.audioLevel);
L.append(", audioDetected=");
L.append(this.audioDetected);
L.append(", jitter=");
L.append(this.jitter);
L.append(", jitterBuffer=");
L.append(this.jitterBuffer);
L.append(", jitterBufferPreferred=");
L.append(this.jitterBufferPreferred);
L.append(", delayEstimate=");
L.append(this.delayEstimate);
L.append(", decodingCNG=");
L.append(this.decodingCNG);
L.append(", decodingMutedOutput=");
L.append(this.decodingMutedOutput);
L.append(", decodingNormal=");
L.append(this.decodingNormal);
L.append(", decodingPLC=");
L.append(this.decodingPLC);
L.append(", decodingPLCCNG=");
L.append(this.decodingPLCCNG);
L.append(", opSilence=");
L.append(this.opSilence);
L.append(", opNormal=");
L.append(this.opNormal);
L.append(", opMerge=");
L.append(this.opMerge);
L.append(", opExpand=");
L.append(this.opExpand);
L.append(", opAccelerate=");
L.append(this.opAccelerate);
L.append(", opPreemptiveExpand=");
L.append(this.opPreemptiveExpand);
L.append(", opCNG=");
L.append(this.opCNG);
L.append(", audioJitterBuffer=");
L.append(this.audioJitterBuffer);
L.append(", audioJitterDelay=");
L.append(this.audioJitterDelay);
L.append(", audioJitterTarget=");
L.append(this.audioJitterTarget);
L.append(", audioPlayoutUnderruns=");
L.append(this.audioPlayoutUnderruns);
L.append(", relativeReceptionDelay=");
L.append(this.relativeReceptionDelay);
L.append(", relativePlayoutDelay=");
L.append(this.relativePlayoutDelay);
L.append(")");
return L.toString();
}
}