package c.a.q.m0.c; import co.discord.media_engine.Connection; import co.discord.media_engine.StreamParameters; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineConnectionLegacy.kt */ public final class b implements Connection.OnVideoCallback { public final /* synthetic */ e a; /* compiled from: MediaEngineConnectionLegacy.kt */ public static final class a extends o implements Function0 { public final /* synthetic */ int $ssrc; public final /* synthetic */ String $streamIdentifier; public final /* synthetic */ StreamParameters[] $streams; public final /* synthetic */ long $userId; public final /* synthetic */ b this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(b bVar, long j, int i, String str, StreamParameters[] streamParametersArr) { super(0); this.this$0 = bVar; this.$userId = j; this.$ssrc = i; this.$streamIdentifier = str; this.$streams = streamParametersArr; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public Unit mo1invoke() { e eVar = this.this$0.a; long j = this.$userId; int i = this.$ssrc; String str = this.$streamIdentifier; StreamParameters[] streamParametersArr = this.$streams; eVar.e.put(Long.valueOf(j), Long.valueOf((long) i)); eVar.y(new h(eVar, j, str, i, streamParametersArr)); return Unit.a; } } public b(e eVar) { this.a = eVar; } @Override // co.discord.media_engine.Connection.OnVideoCallback public void onVideo(long j, int i, String str, StreamParameters[] streamParametersArr) { m.checkNotNullParameter(str, "streamIdentifier"); m.checkNotNullParameter(streamParametersArr, "streams"); e.x(this.a, new a(this, j, i, str, streamParametersArr)); } }