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

132 lines
4.9 KiB
Java

package co.discord.media_engine;
import c.d.b.a.a;
import d0.z.d.m;
import java.util.Map;
/* compiled from: Statistics.kt */
public final class Stats {
private final Map<String, InboundRtpAudio> inboundRtpAudio;
private final Map<String, InboundRtpVideo> inboundRtpVideo;
private final OutboundRtpAudio outboundRtpAudio;
private final OutboundRtpVideo outboundRtpVideo;
private final Transport transport;
public Stats(Transport transport, OutboundRtpAudio outboundRtpAudio, OutboundRtpVideo outboundRtpVideo, Map<String, InboundRtpAudio> map, Map<String, InboundRtpVideo> map2) {
m.checkNotNullParameter(map, "inboundRtpAudio");
m.checkNotNullParameter(map2, "inboundRtpVideo");
this.transport = transport;
this.outboundRtpAudio = outboundRtpAudio;
this.outboundRtpVideo = outboundRtpVideo;
this.inboundRtpAudio = map;
this.inboundRtpVideo = map2;
}
/* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: co.discord.media_engine.Stats */
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ Stats copy$default(Stats stats, Transport transport, OutboundRtpAudio outboundRtpAudio, OutboundRtpVideo outboundRtpVideo, Map map, Map map2, int i, Object obj) {
if ((i & 1) != 0) {
transport = stats.transport;
}
if ((i & 2) != 0) {
outboundRtpAudio = stats.outboundRtpAudio;
}
if ((i & 4) != 0) {
outboundRtpVideo = stats.outboundRtpVideo;
}
if ((i & 8) != 0) {
map = stats.inboundRtpAudio;
}
if ((i & 16) != 0) {
map2 = stats.inboundRtpVideo;
}
return stats.copy(transport, outboundRtpAudio, outboundRtpVideo, map, map2);
}
public final Transport component1() {
return this.transport;
}
public final OutboundRtpAudio component2() {
return this.outboundRtpAudio;
}
public final OutboundRtpVideo component3() {
return this.outboundRtpVideo;
}
public final Map<String, InboundRtpAudio> component4() {
return this.inboundRtpAudio;
}
public final Map<String, InboundRtpVideo> component5() {
return this.inboundRtpVideo;
}
public final Stats copy(Transport transport, OutboundRtpAudio outboundRtpAudio, OutboundRtpVideo outboundRtpVideo, Map<String, InboundRtpAudio> map, Map<String, InboundRtpVideo> map2) {
m.checkNotNullParameter(map, "inboundRtpAudio");
m.checkNotNullParameter(map2, "inboundRtpVideo");
return new Stats(transport, outboundRtpAudio, outboundRtpVideo, map, map2);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Stats)) {
return false;
}
Stats stats = (Stats) obj;
return m.areEqual(this.transport, stats.transport) && m.areEqual(this.outboundRtpAudio, stats.outboundRtpAudio) && m.areEqual(this.outboundRtpVideo, stats.outboundRtpVideo) && m.areEqual(this.inboundRtpAudio, stats.inboundRtpAudio) && m.areEqual(this.inboundRtpVideo, stats.inboundRtpVideo);
}
public final Map<String, InboundRtpAudio> getInboundRtpAudio() {
return this.inboundRtpAudio;
}
public final Map<String, InboundRtpVideo> getInboundRtpVideo() {
return this.inboundRtpVideo;
}
public final OutboundRtpAudio getOutboundRtpAudio() {
return this.outboundRtpAudio;
}
public final OutboundRtpVideo getOutboundRtpVideo() {
return this.outboundRtpVideo;
}
public final Transport getTransport() {
return this.transport;
}
public int hashCode() {
Transport transport = this.transport;
int i = 0;
int hashCode = (transport != null ? transport.hashCode() : 0) * 31;
OutboundRtpAudio outboundRtpAudio = this.outboundRtpAudio;
int hashCode2 = (hashCode + (outboundRtpAudio != null ? outboundRtpAudio.hashCode() : 0)) * 31;
OutboundRtpVideo outboundRtpVideo = this.outboundRtpVideo;
int hashCode3 = (hashCode2 + (outboundRtpVideo != null ? outboundRtpVideo.hashCode() : 0)) * 31;
Map<String, InboundRtpAudio> map = this.inboundRtpAudio;
int hashCode4 = (hashCode3 + (map != null ? map.hashCode() : 0)) * 31;
Map<String, InboundRtpVideo> map2 = this.inboundRtpVideo;
if (map2 != null) {
i = map2.hashCode();
}
return hashCode4 + i;
}
public String toString() {
StringBuilder K = a.K("Stats(transport=");
K.append(this.transport);
K.append(", outboundRtpAudio=");
K.append(this.outboundRtpAudio);
K.append(", outboundRtpVideo=");
K.append(this.outboundRtpVideo);
K.append(", inboundRtpAudio=");
K.append(this.inboundRtpAudio);
K.append(", inboundRtpVideo=");
return a.E(K, this.inboundRtpVideo, ")");
}
}