- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
62 lines
2.1 KiB
Java
62 lines
2.1 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.content.Context;
|
|
import android.util.SparseArray;
|
|
import com.applovin.impl.bi;
|
|
import com.applovin.impl.i5;
|
|
import com.applovin.impl.v5;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class i6 implements de {
|
|
private final i5.a a;
|
|
private final SparseArray b;
|
|
private final int[] c;
|
|
private long d;
|
|
private long e;
|
|
private long f;
|
|
private float g;
|
|
private float h;
|
|
|
|
private static SparseArray a(i5.a aVar, o8 o8Var) {
|
|
SparseArray sparseArray = new SparseArray();
|
|
try {
|
|
sparseArray.put(0, (de) Class.forName("com.applovin.exoplayer2.source.dash.DashMediaSource$Factory").asSubclass(de.class).getConstructor(i5.a.class).newInstance(aVar));
|
|
} catch (Exception unused) {
|
|
}
|
|
try {
|
|
sparseArray.put(1, (de) Class.forName("com.applovin.exoplayer2.source.smoothstreaming.SsMediaSource$Factory").asSubclass(de.class).getConstructor(i5.a.class).newInstance(aVar));
|
|
} catch (Exception unused2) {
|
|
}
|
|
try {
|
|
sparseArray.put(2, (de) Class.forName("com.applovin.exoplayer2.source.hls.HlsMediaSource$Factory").asSubclass(de.class).getConstructor(i5.a.class).newInstance(aVar));
|
|
} catch (Exception unused3) {
|
|
}
|
|
try {
|
|
sparseArray.put(3, (de) Class.forName("com.applovin.exoplayer2.source.rtsp.RtspMediaSource$Factory").asSubclass(de.class).getConstructor(new Class[0]).newInstance(new Object[0]));
|
|
} catch (Exception unused4) {
|
|
}
|
|
sparseArray.put(4, new bi.b(aVar, o8Var));
|
|
return sparseArray;
|
|
}
|
|
|
|
public i6(Context context, o8 o8Var) {
|
|
this(new v5.a(context), o8Var);
|
|
}
|
|
|
|
public i6(i5.a aVar, o8 o8Var) {
|
|
this.a = aVar;
|
|
SparseArray a = a(aVar, o8Var);
|
|
this.b = a;
|
|
this.c = new int[a.size()];
|
|
for (int i = 0; i < this.b.size(); i++) {
|
|
this.c[i] = this.b.keyAt(i);
|
|
}
|
|
this.d = C.TIME_UNSET;
|
|
this.e = C.TIME_UNSET;
|
|
this.f = C.TIME_UNSET;
|
|
this.g = -3.4028235E38f;
|
|
this.h = -3.4028235E38f;
|
|
}
|
|
}
|