2021-06-27 20:44:35 +00:00
|
|
|
package co.discord.media_engine;
|
|
|
|
|
|
|
|
import c.d.b.a.a;
|
2021-11-08 18:25:28 +00:00
|
|
|
import d0.z.d.m;
|
2021-06-27 20:44:35 +00:00
|
|
|
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() {
|
2021-11-08 18:25:28 +00:00
|
|
|
StringBuilder R = a.R("Stats(transport=");
|
|
|
|
R.append(this.transport);
|
|
|
|
R.append(", outboundRtpAudio=");
|
|
|
|
R.append(this.outboundRtpAudio);
|
|
|
|
R.append(", outboundRtpVideo=");
|
|
|
|
R.append(this.outboundRtpVideo);
|
|
|
|
R.append(", inboundRtpAudio=");
|
|
|
|
R.append(this.inboundRtpAudio);
|
|
|
|
R.append(", inboundRtpVideo=");
|
|
|
|
return a.K(R, this.inboundRtpVideo, ")");
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|