2021-08-03 07:33:18 +00:00
|
|
|
package co.discord.media_engine.internal;
|
|
|
|
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-09 22:51:56 +00:00
|
|
|
import org.webrtc.MediaStreamTrack;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* 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 Inbound {
|
|
|
|
private final InboundAudio audio;
|
|
|
|
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
2022-03-12 00:35:13 +00:00
|
|
|
private final String f1993id;
|
2021-08-03 07:33:18 +00:00
|
|
|
private final InboundPlayout playout;
|
|
|
|
private final InboundVideo video;
|
|
|
|
|
|
|
|
public Inbound(String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout) {
|
2021-08-09 22:51:56 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_ID);
|
|
|
|
m.checkNotNullParameter(inboundAudio, MediaStreamTrack.AUDIO_TRACK_KIND);
|
2022-03-12 00:35:13 +00:00
|
|
|
this.f1993id = str;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.audio = inboundAudio;
|
|
|
|
this.video = inboundVideo;
|
|
|
|
this.playout = inboundPlayout;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static /* synthetic */ Inbound copy$default(Inbound inbound, String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout, int i, Object obj) {
|
|
|
|
if ((i & 1) != 0) {
|
2022-03-12 00:35:13 +00:00
|
|
|
str = inbound.f1993id;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
if ((i & 2) != 0) {
|
|
|
|
inboundAudio = inbound.audio;
|
|
|
|
}
|
|
|
|
if ((i & 4) != 0) {
|
|
|
|
inboundVideo = inbound.video;
|
|
|
|
}
|
|
|
|
if ((i & 8) != 0) {
|
|
|
|
inboundPlayout = inbound.playout;
|
|
|
|
}
|
|
|
|
return inbound.copy(str, inboundAudio, inboundVideo, inboundPlayout);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component1() {
|
2022-03-12 00:35:13 +00:00
|
|
|
return this.f1993id;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundAudio component2() {
|
|
|
|
return this.audio;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundVideo component3() {
|
|
|
|
return this.video;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundPlayout component4() {
|
|
|
|
return this.playout;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final Inbound copy(String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout) {
|
2021-08-09 22:51:56 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_ID);
|
|
|
|
m.checkNotNullParameter(inboundAudio, MediaStreamTrack.AUDIO_TRACK_KIND);
|
2021-08-03 07:33:18 +00:00
|
|
|
return new Inbound(str, inboundAudio, inboundVideo, inboundPlayout);
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(obj instanceof Inbound)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
Inbound inbound = (Inbound) obj;
|
2022-03-12 00:35:13 +00:00
|
|
|
return m.areEqual(this.f1993id, inbound.f1993id) && m.areEqual(this.audio, inbound.audio) && m.areEqual(this.video, inbound.video) && m.areEqual(this.playout, inbound.playout);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundAudio getAudio() {
|
|
|
|
return this.audio;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getId() {
|
2022-03-12 00:35:13 +00:00
|
|
|
return this.f1993id;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundPlayout getPlayout() {
|
|
|
|
return this.playout;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final InboundVideo getVideo() {
|
|
|
|
return this.video;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int hashCode() {
|
2022-03-12 00:35:13 +00:00
|
|
|
String str = this.f1993id;
|
2021-08-03 07:33:18 +00:00
|
|
|
int i = 0;
|
|
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
|
|
InboundAudio inboundAudio = this.audio;
|
|
|
|
int hashCode2 = (hashCode + (inboundAudio != null ? inboundAudio.hashCode() : 0)) * 31;
|
|
|
|
InboundVideo inboundVideo = this.video;
|
|
|
|
int hashCode3 = (hashCode2 + (inboundVideo != null ? inboundVideo.hashCode() : 0)) * 31;
|
|
|
|
InboundPlayout inboundPlayout = this.playout;
|
|
|
|
if (inboundPlayout != null) {
|
|
|
|
i = inboundPlayout.hashCode();
|
|
|
|
}
|
|
|
|
return hashCode3 + i;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2022-03-21 18:52:30 +00:00
|
|
|
StringBuilder R = a.R("Inbound(id=");
|
|
|
|
R.append(this.f1993id);
|
|
|
|
R.append(", audio=");
|
|
|
|
R.append(this.audio);
|
|
|
|
R.append(", video=");
|
|
|
|
R.append(this.video);
|
|
|
|
R.append(", playout=");
|
|
|
|
R.append(this.playout);
|
|
|
|
R.append(")");
|
|
|
|
return R.toString();
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|