295 lines
11 KiB
Java
295 lines
11 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 InboundRtpVideo {
|
||
|
private final int averageDecodeTime;
|
||
|
private final int bitrate;
|
||
|
private final long bytesReceived;
|
||
|
private final StatsCodec codec;
|
||
|
private final String decoderImplementationName;
|
||
|
private final int firCount;
|
||
|
private final int frameRateDecode;
|
||
|
private final int frameRateNetwork;
|
||
|
private final int frameRateRender;
|
||
|
private final int framesDecoded;
|
||
|
private final int framesDropped;
|
||
|
private final int framesReceived;
|
||
|
private final int nackCount;
|
||
|
private final int packetsLost;
|
||
|
private final int packetsReceived;
|
||
|
private final int pliCount;
|
||
|
private final int qpSum;
|
||
|
private final Resolution resolution;
|
||
|
private final int ssrc;
|
||
|
private final String type;
|
||
|
|
||
|
public InboundRtpVideo(String str, int i, StatsCodec statsCodec, long j, int i2, int i3, int i4, int i5, Resolution resolution, String str2, int i6, int i7, int i8, int i9, int i10, int i11, int i12, int i13, int i14, int i15) {
|
||
|
m.checkNotNullParameter(str, "type");
|
||
|
m.checkNotNullParameter(resolution, "resolution");
|
||
|
m.checkNotNullParameter(str2, "decoderImplementationName");
|
||
|
this.type = str;
|
||
|
this.ssrc = i;
|
||
|
this.codec = statsCodec;
|
||
|
this.bytesReceived = j;
|
||
|
this.packetsReceived = i2;
|
||
|
this.packetsLost = i3;
|
||
|
this.bitrate = i4;
|
||
|
this.averageDecodeTime = i5;
|
||
|
this.resolution = resolution;
|
||
|
this.decoderImplementationName = str2;
|
||
|
this.framesDecoded = i6;
|
||
|
this.framesDropped = i7;
|
||
|
this.framesReceived = i8;
|
||
|
this.frameRateDecode = i9;
|
||
|
this.frameRateNetwork = i10;
|
||
|
this.frameRateRender = i11;
|
||
|
this.firCount = i12;
|
||
|
this.nackCount = i13;
|
||
|
this.pliCount = i14;
|
||
|
this.qpSum = i15;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ InboundRtpVideo copy$default(InboundRtpVideo inboundRtpVideo, String str, int i, StatsCodec statsCodec, long j, int i2, int i3, int i4, int i5, Resolution resolution, String str2, int i6, int i7, int i8, int i9, int i10, int i11, int i12, int i13, int i14, int i15, int i16, Object obj) {
|
||
|
return inboundRtpVideo.copy((i16 & 1) != 0 ? inboundRtpVideo.type : str, (i16 & 2) != 0 ? inboundRtpVideo.ssrc : i, (i16 & 4) != 0 ? inboundRtpVideo.codec : statsCodec, (i16 & 8) != 0 ? inboundRtpVideo.bytesReceived : j, (i16 & 16) != 0 ? inboundRtpVideo.packetsReceived : i2, (i16 & 32) != 0 ? inboundRtpVideo.packetsLost : i3, (i16 & 64) != 0 ? inboundRtpVideo.bitrate : i4, (i16 & 128) != 0 ? inboundRtpVideo.averageDecodeTime : i5, (i16 & 256) != 0 ? inboundRtpVideo.resolution : resolution, (i16 & 512) != 0 ? inboundRtpVideo.decoderImplementationName : str2, (i16 & 1024) != 0 ? inboundRtpVideo.framesDecoded : i6, (i16 & 2048) != 0 ? inboundRtpVideo.framesDropped : i7, (i16 & 4096) != 0 ? inboundRtpVideo.framesReceived : i8, (i16 & 8192) != 0 ? inboundRtpVideo.frameRateDecode : i9, (i16 & 16384) != 0 ? inboundRtpVideo.frameRateNetwork : i10, (i16 & 32768) != 0 ? inboundRtpVideo.frameRateRender : i11, (i16 & 65536) != 0 ? inboundRtpVideo.firCount : i12, (i16 & 131072) != 0 ? inboundRtpVideo.nackCount : i13, (i16 & 262144) != 0 ? inboundRtpVideo.pliCount : i14, (i16 & 524288) != 0 ? inboundRtpVideo.qpSum : i15);
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return this.type;
|
||
|
}
|
||
|
|
||
|
public final String component10() {
|
||
|
return this.decoderImplementationName;
|
||
|
}
|
||
|
|
||
|
public final int component11() {
|
||
|
return this.framesDecoded;
|
||
|
}
|
||
|
|
||
|
public final int component12() {
|
||
|
return this.framesDropped;
|
||
|
}
|
||
|
|
||
|
public final int component13() {
|
||
|
return this.framesReceived;
|
||
|
}
|
||
|
|
||
|
public final int component14() {
|
||
|
return this.frameRateDecode;
|
||
|
}
|
||
|
|
||
|
public final int component15() {
|
||
|
return this.frameRateNetwork;
|
||
|
}
|
||
|
|
||
|
public final int component16() {
|
||
|
return this.frameRateRender;
|
||
|
}
|
||
|
|
||
|
public final int component17() {
|
||
|
return this.firCount;
|
||
|
}
|
||
|
|
||
|
public final int component18() {
|
||
|
return this.nackCount;
|
||
|
}
|
||
|
|
||
|
public final int component19() {
|
||
|
return this.pliCount;
|
||
|
}
|
||
|
|
||
|
public final int component2() {
|
||
|
return this.ssrc;
|
||
|
}
|
||
|
|
||
|
public final int component20() {
|
||
|
return this.qpSum;
|
||
|
}
|
||
|
|
||
|
public final StatsCodec component3() {
|
||
|
return this.codec;
|
||
|
}
|
||
|
|
||
|
public final long component4() {
|
||
|
return this.bytesReceived;
|
||
|
}
|
||
|
|
||
|
public final int component5() {
|
||
|
return this.packetsReceived;
|
||
|
}
|
||
|
|
||
|
public final int component6() {
|
||
|
return this.packetsLost;
|
||
|
}
|
||
|
|
||
|
public final int component7() {
|
||
|
return this.bitrate;
|
||
|
}
|
||
|
|
||
|
public final int component8() {
|
||
|
return this.averageDecodeTime;
|
||
|
}
|
||
|
|
||
|
public final Resolution component9() {
|
||
|
return this.resolution;
|
||
|
}
|
||
|
|
||
|
public final InboundRtpVideo copy(String str, int i, StatsCodec statsCodec, long j, int i2, int i3, int i4, int i5, Resolution resolution, String str2, int i6, int i7, int i8, int i9, int i10, int i11, int i12, int i13, int i14, int i15) {
|
||
|
m.checkNotNullParameter(str, "type");
|
||
|
m.checkNotNullParameter(resolution, "resolution");
|
||
|
m.checkNotNullParameter(str2, "decoderImplementationName");
|
||
|
return new InboundRtpVideo(str, i, statsCodec, j, i2, i3, i4, i5, resolution, str2, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof InboundRtpVideo)) {
|
||
|
return false;
|
||
|
}
|
||
|
InboundRtpVideo inboundRtpVideo = (InboundRtpVideo) obj;
|
||
|
return m.areEqual(this.type, inboundRtpVideo.type) && this.ssrc == inboundRtpVideo.ssrc && m.areEqual(this.codec, inboundRtpVideo.codec) && this.bytesReceived == inboundRtpVideo.bytesReceived && this.packetsReceived == inboundRtpVideo.packetsReceived && this.packetsLost == inboundRtpVideo.packetsLost && this.bitrate == inboundRtpVideo.bitrate && this.averageDecodeTime == inboundRtpVideo.averageDecodeTime && m.areEqual(this.resolution, inboundRtpVideo.resolution) && m.areEqual(this.decoderImplementationName, inboundRtpVideo.decoderImplementationName) && this.framesDecoded == inboundRtpVideo.framesDecoded && this.framesDropped == inboundRtpVideo.framesDropped && this.framesReceived == inboundRtpVideo.framesReceived && this.frameRateDecode == inboundRtpVideo.frameRateDecode && this.frameRateNetwork == inboundRtpVideo.frameRateNetwork && this.frameRateRender == inboundRtpVideo.frameRateRender && this.firCount == inboundRtpVideo.firCount && this.nackCount == inboundRtpVideo.nackCount && this.pliCount == inboundRtpVideo.pliCount && this.qpSum == inboundRtpVideo.qpSum;
|
||
|
}
|
||
|
|
||
|
public final int getAverageDecodeTime() {
|
||
|
return this.averageDecodeTime;
|
||
|
}
|
||
|
|
||
|
public final int getBitrate() {
|
||
|
return this.bitrate;
|
||
|
}
|
||
|
|
||
|
public final long getBytesReceived() {
|
||
|
return this.bytesReceived;
|
||
|
}
|
||
|
|
||
|
public final StatsCodec getCodec() {
|
||
|
return this.codec;
|
||
|
}
|
||
|
|
||
|
public final String getDecoderImplementationName() {
|
||
|
return this.decoderImplementationName;
|
||
|
}
|
||
|
|
||
|
public final int getFirCount() {
|
||
|
return this.firCount;
|
||
|
}
|
||
|
|
||
|
public final int getFrameRateDecode() {
|
||
|
return this.frameRateDecode;
|
||
|
}
|
||
|
|
||
|
public final int getFrameRateNetwork() {
|
||
|
return this.frameRateNetwork;
|
||
|
}
|
||
|
|
||
|
public final int getFrameRateRender() {
|
||
|
return this.frameRateRender;
|
||
|
}
|
||
|
|
||
|
public final int getFramesDecoded() {
|
||
|
return this.framesDecoded;
|
||
|
}
|
||
|
|
||
|
public final int getFramesDropped() {
|
||
|
return this.framesDropped;
|
||
|
}
|
||
|
|
||
|
public final int getFramesReceived() {
|
||
|
return this.framesReceived;
|
||
|
}
|
||
|
|
||
|
public final int getNackCount() {
|
||
|
return this.nackCount;
|
||
|
}
|
||
|
|
||
|
public final int getPacketsLost() {
|
||
|
return this.packetsLost;
|
||
|
}
|
||
|
|
||
|
public final int getPacketsReceived() {
|
||
|
return this.packetsReceived;
|
||
|
}
|
||
|
|
||
|
public final int getPliCount() {
|
||
|
return this.pliCount;
|
||
|
}
|
||
|
|
||
|
public final int getQpSum() {
|
||
|
return this.qpSum;
|
||
|
}
|
||
|
|
||
|
public final Resolution getResolution() {
|
||
|
return this.resolution;
|
||
|
}
|
||
|
|
||
|
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 a = (((((((((b.a(this.bytesReceived) + ((hashCode + (statsCodec != null ? statsCodec.hashCode() : 0)) * 31)) * 31) + this.packetsReceived) * 31) + this.packetsLost) * 31) + this.bitrate) * 31) + this.averageDecodeTime) * 31;
|
||
|
Resolution resolution = this.resolution;
|
||
|
int hashCode2 = (a + (resolution != null ? resolution.hashCode() : 0)) * 31;
|
||
|
String str2 = this.decoderImplementationName;
|
||
|
if (str2 != null) {
|
||
|
i = str2.hashCode();
|
||
|
}
|
||
|
return ((((((((((((((((((((hashCode2 + i) * 31) + this.framesDecoded) * 31) + this.framesDropped) * 31) + this.framesReceived) * 31) + this.frameRateDecode) * 31) + this.frameRateNetwork) * 31) + this.frameRateRender) * 31) + this.firCount) * 31) + this.nackCount) * 31) + this.pliCount) * 31) + this.qpSum;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("InboundRtpVideo(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(", bitrate=");
|
||
|
L.append(this.bitrate);
|
||
|
L.append(", averageDecodeTime=");
|
||
|
L.append(this.averageDecodeTime);
|
||
|
L.append(", resolution=");
|
||
|
L.append(this.resolution);
|
||
|
L.append(", decoderImplementationName=");
|
||
|
L.append(this.decoderImplementationName);
|
||
|
L.append(", framesDecoded=");
|
||
|
L.append(this.framesDecoded);
|
||
|
L.append(", framesDropped=");
|
||
|
L.append(this.framesDropped);
|
||
|
L.append(", framesReceived=");
|
||
|
L.append(this.framesReceived);
|
||
|
L.append(", frameRateDecode=");
|
||
|
L.append(this.frameRateDecode);
|
||
|
L.append(", frameRateNetwork=");
|
||
|
L.append(this.frameRateNetwork);
|
||
|
L.append(", frameRateRender=");
|
||
|
L.append(this.frameRateRender);
|
||
|
L.append(", firCount=");
|
||
|
L.append(this.firCount);
|
||
|
L.append(", nackCount=");
|
||
|
L.append(this.nackCount);
|
||
|
L.append(", pliCount=");
|
||
|
L.append(this.pliCount);
|
||
|
L.append(", qpSum=");
|
||
|
return a.z(L, this.qpSum, ")");
|
||
|
}
|
||
|
}
|