- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
485 lines
20 KiB
Java
485 lines
20 KiB
Java
package com.fyber.inneractive.sdk.player.controller;
|
|
|
|
import android.content.Context;
|
|
import android.graphics.Bitmap;
|
|
import android.media.AudioManager;
|
|
import android.os.Handler;
|
|
import android.os.Looper;
|
|
import android.util.Log;
|
|
import android.view.Surface;
|
|
import com.fyber.inneractive.sdk.config.IAConfigManager;
|
|
import com.fyber.inneractive.sdk.player.cache.d;
|
|
import com.fyber.inneractive.sdk.player.exoplayer2.audio.MediaCodecAudioRenderer;
|
|
import com.fyber.inneractive.sdk.player.exoplayer2.e;
|
|
import com.fyber.inneractive.sdk.player.exoplayer2.video.MediaCodecVideoRenderer;
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
import java.util.Iterator;
|
|
import java.util.concurrent.CopyOnWriteArrayList;
|
|
import java.util.concurrent.ScheduledThreadPoolExecutor;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class d extends i implements d.b, d.c {
|
|
public final boolean A;
|
|
public Bitmap B;
|
|
public int C;
|
|
public String D;
|
|
public final CopyOnWriteArrayList E;
|
|
public com.fyber.inneractive.sdk.player.exoplayer2.source.p F;
|
|
public boolean G;
|
|
public int H;
|
|
public final int p;
|
|
public final com.fyber.inneractive.sdk.config.global.s q;
|
|
public final int r;
|
|
public com.fyber.inneractive.sdk.player.exoplayer2.e s;
|
|
public int t;
|
|
public int u;
|
|
public boolean v;
|
|
public com.fyber.inneractive.sdk.player.exoplayer2.o[] w;
|
|
public Handler x;
|
|
public w y;
|
|
public boolean z;
|
|
|
|
public class a implements Runnable {
|
|
public a() {
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = d.this.s;
|
|
if (eVar != null) {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = (com.fyber.inneractive.sdk.player.exoplayer2.g) eVar;
|
|
gVar.a((gVar.n.c() || gVar.l > 0) ? gVar.s : gVar.n.a(gVar.r.a, gVar.h, false).c, C.TIME_UNSET);
|
|
((com.fyber.inneractive.sdk.player.exoplayer2.g) d.this.s).e.f.sendEmptyMessage(5);
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar2 = (com.fyber.inneractive.sdk.player.exoplayer2.g) d.this.s;
|
|
gVar2.e.c();
|
|
gVar2.d.removeCallbacksAndMessages(null);
|
|
d.this.s = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
public d(Context context, boolean z, com.fyber.inneractive.sdk.config.global.s sVar) {
|
|
super(context);
|
|
this.t = 0;
|
|
this.u = 0;
|
|
this.v = false;
|
|
this.z = false;
|
|
this.E = new CopyOnWriteArrayList();
|
|
this.F = null;
|
|
this.H = 0;
|
|
this.A = z;
|
|
this.q = sVar;
|
|
this.r = IAConfigManager.c().a().a(6, 3, "extractor_source_retry_count");
|
|
com.fyber.inneractive.sdk.config.global.features.r rVar = sVar != null ? (com.fyber.inneractive.sdk.config.global.features.r) sVar.a(com.fyber.inneractive.sdk.config.global.features.r.class) : null;
|
|
this.p = rVar == null ? 0 : rVar.h();
|
|
IAlog.a("Creating IAExoPlayer2Controller", new Object[0]);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final boolean a() {
|
|
return this.A;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void b(boolean z) {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar;
|
|
c(true);
|
|
this.n = z;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.o[] oVarArr = this.w;
|
|
if (oVarArr == null || (eVar = this.s) == null || this.z || oVarArr.length < 2) {
|
|
return;
|
|
}
|
|
e.c[] cVarArr = {new e.c(oVarArr[1], 2, Float.valueOf(0.0f))};
|
|
com.fyber.inneractive.sdk.player.exoplayer2.h hVar = ((com.fyber.inneractive.sdk.player.exoplayer2.g) eVar).e;
|
|
if (hVar.q) {
|
|
Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release.");
|
|
} else {
|
|
hVar.f.obtainMessage(11, cVarArr).sendToTarget();
|
|
}
|
|
this.v = true;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void d(boolean z) {
|
|
c(false);
|
|
this.n = z;
|
|
if (this.s == null || this.z) {
|
|
return;
|
|
}
|
|
AudioManager audioManager = (AudioManager) this.a.getSystemService("audio");
|
|
int streamVolume = audioManager.getStreamVolume(3);
|
|
int streamMaxVolume = audioManager.getStreamMaxVolume(3);
|
|
float f = streamVolume / streamMaxVolume;
|
|
IAlog.a(" unmute maxVolume = %d currentVolume = %d targetVolume = %s", Integer.valueOf(streamMaxVolume), Integer.valueOf(streamVolume), Float.valueOf(f));
|
|
if (f == 0.0f) {
|
|
f = 0.1f;
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.o[] oVarArr = this.w;
|
|
if (oVarArr != null && oVarArr.length >= 2) {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
e.c[] cVarArr = {new e.c(oVarArr[1], 2, Float.valueOf(f))};
|
|
com.fyber.inneractive.sdk.player.exoplayer2.h hVar = ((com.fyber.inneractive.sdk.player.exoplayer2.g) eVar).e;
|
|
if (hVar.q) {
|
|
Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release.");
|
|
} else {
|
|
hVar.f.obtainMessage(11, cVarArr).sendToTarget();
|
|
}
|
|
}
|
|
this.v = false;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final Bitmap e() {
|
|
return this.B;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final String f() {
|
|
return this.A ? "exo_c" : "exo";
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final int g() {
|
|
return this.u;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final int h() {
|
|
return this.t;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final boolean i() {
|
|
return this.v;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void a(Surface surface) {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar;
|
|
IAlog.a("%ssetSurface called with %s", IAlog.a(this), surface);
|
|
com.fyber.inneractive.sdk.player.exoplayer2.o[] oVarArr = this.w;
|
|
if (oVarArr == null || (eVar = this.s) == null || this.z) {
|
|
return;
|
|
}
|
|
e.c[] cVarArr = {new e.c(oVarArr[0], 1, surface)};
|
|
com.fyber.inneractive.sdk.player.exoplayer2.h hVar = ((com.fyber.inneractive.sdk.player.exoplayer2.g) eVar).e;
|
|
if (hVar.q) {
|
|
Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release.");
|
|
} else {
|
|
hVar.f.obtainMessage(11, cVarArr).sendToTarget();
|
|
}
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final int c() {
|
|
long j;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
if (eVar == null || this.z) {
|
|
return 0;
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = (com.fyber.inneractive.sdk.player.exoplayer2.g) eVar;
|
|
if (gVar.n.c() || gVar.l > 0) {
|
|
j = gVar.t;
|
|
} else {
|
|
gVar.n.a(gVar.r.a, gVar.h, false);
|
|
j = com.fyber.inneractive.sdk.player.exoplayer2.b.a(gVar.r.c) + com.fyber.inneractive.sdk.player.exoplayer2.b.a(gVar.h.e);
|
|
}
|
|
return (int) j;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final boolean j() {
|
|
return (this.s == null || this.z || this.e != com.fyber.inneractive.sdk.player.enums.b.Playing) ? false : true;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void k() {
|
|
com.fyber.inneractive.sdk.player.enums.b bVar;
|
|
ScheduledThreadPoolExecutor scheduledThreadPoolExecutor;
|
|
com.fyber.inneractive.sdk.player.enums.b bVar2 = this.e;
|
|
if (bVar2 == com.fyber.inneractive.sdk.player.enums.b.Idle || bVar2 == com.fyber.inneractive.sdk.player.enums.b.Completed || bVar2 == (bVar = com.fyber.inneractive.sdk.player.enums.b.Paused) || bVar2 == com.fyber.inneractive.sdk.player.enums.b.Prepared) {
|
|
IAlog.a("%s paused called when player is in mState: %s ignoring", IAlog.a(this), bVar2);
|
|
return;
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
if (eVar != null && !this.z) {
|
|
((com.fyber.inneractive.sdk.player.exoplayer2.g) eVar).a(false);
|
|
}
|
|
com.fyber.inneractive.sdk.player.d dVar = this.h;
|
|
if (dVar != null && (scheduledThreadPoolExecutor = dVar.b) != null) {
|
|
scheduledThreadPoolExecutor.shutdownNow();
|
|
dVar.b = null;
|
|
}
|
|
a(bVar);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void l() {
|
|
IAlog.a("%sstart called", IAlog.a(this));
|
|
if (j()) {
|
|
return;
|
|
}
|
|
a(com.fyber.inneractive.sdk.player.enums.b.Start_in_progress);
|
|
((com.fyber.inneractive.sdk.player.exoplayer2.g) this.s).a(true);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void a(boolean z) {
|
|
if (this.s != null || this.z) {
|
|
return;
|
|
}
|
|
this.G = z;
|
|
IAlog.a("%sMediaPlayerController: creating media player", IAlog.a(this));
|
|
w wVar = this.y;
|
|
if (wVar != null) {
|
|
wVar.a.clear();
|
|
}
|
|
this.y = new w(this);
|
|
this.x = new Handler(Looper.getMainLooper());
|
|
com.fyber.inneractive.sdk.player.exoplayer2.o[] oVarArr = new com.fyber.inneractive.sdk.player.exoplayer2.o[z ? 2 : 1];
|
|
this.w = oVarArr;
|
|
oVarArr[0] = new MediaCodecVideoRenderer(this.x, this.y);
|
|
if (z) {
|
|
this.w[1] = new MediaCodecAudioRenderer(0);
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = new com.fyber.inneractive.sdk.player.exoplayer2.g(this.w, new com.fyber.inneractive.sdk.player.exoplayer2.trackselection.b(0), new com.fyber.inneractive.sdk.player.exoplayer2.c(new com.fyber.inneractive.sdk.player.exoplayer2.upstream.j(0), 0));
|
|
this.s = gVar;
|
|
gVar.f.add(this.y);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void b() {
|
|
ScheduledThreadPoolExecutor scheduledThreadPoolExecutor;
|
|
if (this.s != null) {
|
|
if (!this.z) {
|
|
this.z = true;
|
|
com.fyber.inneractive.sdk.util.p.a.execute(new a());
|
|
}
|
|
w wVar = this.y;
|
|
if (wVar != null) {
|
|
wVar.a.clear();
|
|
}
|
|
this.y = null;
|
|
}
|
|
Iterator it = this.E.iterator();
|
|
while (it.hasNext()) {
|
|
com.fyber.inneractive.sdk.player.cache.j jVar = (com.fyber.inneractive.sdk.player.cache.j) it.next();
|
|
jVar.a(jVar.o);
|
|
com.fyber.inneractive.sdk.player.cache.p.f.d.remove(jVar.a());
|
|
}
|
|
this.E.clear();
|
|
IAlog.a("%sdestroy started", IAlog.a(this));
|
|
com.fyber.inneractive.sdk.player.d dVar = this.h;
|
|
if (dVar != null && (scheduledThreadPoolExecutor = dVar.b) != null) {
|
|
scheduledThreadPoolExecutor.shutdownNow();
|
|
dVar.b = null;
|
|
}
|
|
this.h = null;
|
|
this.i.removeCallbacksAndMessages(null);
|
|
this.b.clear();
|
|
this.f = null;
|
|
this.g = true;
|
|
IAlog.a("%sdestroy finished", IAlog.a(this));
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final int d() {
|
|
int i;
|
|
long a2;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
if (eVar == null || this.z) {
|
|
return 0;
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = (com.fyber.inneractive.sdk.player.exoplayer2.g) eVar;
|
|
if (gVar.n.c()) {
|
|
a2 = C.TIME_UNSET;
|
|
} else {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.q qVar = gVar.n;
|
|
if (!qVar.c() && gVar.l <= 0) {
|
|
i = gVar.n.a(gVar.r.a, gVar.h, false).c;
|
|
} else {
|
|
i = gVar.s;
|
|
}
|
|
a2 = com.fyber.inneractive.sdk.player.exoplayer2.b.a(qVar.a(i, gVar.g, 0L).f);
|
|
}
|
|
return (int) a2;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:19:0x00be */
|
|
/* JADX WARN: Removed duplicated region for block: B:23:0x00d0 */
|
|
/* JADX WARN: Removed duplicated region for block: B:26:0x00a2 */
|
|
/* JADX WARN: Type inference failed for: r11v4, types: [com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.e] */
|
|
/* JADX WARN: Type inference failed for: r1v2, types: [com.fyber.inneractive.sdk.player.cache.e] */
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void a(java.lang.String r10, int r11) {
|
|
/*
|
|
r9 = this;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e r0 = r9.s
|
|
if (r0 == 0) goto Lde
|
|
boolean r0 = r9.z
|
|
if (r0 != 0) goto Lde
|
|
java.lang.String r0 = com.fyber.inneractive.sdk.util.IAlog.a(r9)
|
|
java.lang.Object[] r0 = new java.lang.Object[]{r0, r10}
|
|
java.lang.String r1 = "%sloadMediaPlayerUri called with %s"
|
|
com.fyber.inneractive.sdk.util.IAlog.a(r1, r0)
|
|
r9.D = r10
|
|
r9.C = r11
|
|
android.net.Uri r3 = android.net.Uri.parse(r10)
|
|
int r10 = com.fyber.inneractive.sdk.player.exoplayer2.util.s.a
|
|
java.lang.String r10 = r3.getPath()
|
|
r0 = 2
|
|
r1 = 0
|
|
if (r10 != 0) goto L28
|
|
goto L61
|
|
L28:
|
|
java.lang.String r10 = r10.toLowerCase()
|
|
java.lang.String r2 = ".mpd"
|
|
boolean r2 = r10.endsWith(r2)
|
|
if (r2 == 0) goto L36
|
|
r10 = r1
|
|
goto L64
|
|
L36:
|
|
java.lang.String r2 = ".m3u8"
|
|
boolean r2 = r10.endsWith(r2)
|
|
if (r2 == 0) goto L40
|
|
r10 = r0
|
|
goto L64
|
|
L40:
|
|
java.lang.String r2 = ".ism"
|
|
boolean r2 = r10.endsWith(r2)
|
|
if (r2 != 0) goto L63
|
|
java.lang.String r2 = ".isml"
|
|
boolean r2 = r10.endsWith(r2)
|
|
if (r2 != 0) goto L63
|
|
java.lang.String r2 = ".ism/manifest"
|
|
boolean r2 = r10.endsWith(r2)
|
|
if (r2 != 0) goto L63
|
|
java.lang.String r2 = ".isml/manifest"
|
|
boolean r10 = r10.endsWith(r2)
|
|
if (r10 == 0) goto L61
|
|
goto L63
|
|
L61:
|
|
r10 = 3
|
|
goto L64
|
|
L63:
|
|
r10 = 1
|
|
L64:
|
|
boolean r2 = r9.A
|
|
if (r2 == 0) goto L7f
|
|
com.fyber.inneractive.sdk.player.cache.p r2 = com.fyber.inneractive.sdk.player.cache.p.f
|
|
boolean r2 = r2.c
|
|
if (r2 == 0) goto L7f
|
|
boolean r2 = com.fyber.inneractive.sdk.util.s.a()
|
|
if (r2 == 0) goto L7f
|
|
if (r10 == r0) goto L7f
|
|
com.fyber.inneractive.sdk.player.cache.e r1 = new com.fyber.inneractive.sdk.player.cache.e
|
|
com.fyber.inneractive.sdk.config.global.s r2 = r9.q
|
|
r1.<init>(r9, r9, r11, r2)
|
|
r4 = r1
|
|
goto Lbc
|
|
L7f:
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.k r11 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.k
|
|
r11.<init>(r1)
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.o r2 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.o
|
|
com.fyber.inneractive.sdk.config.IAConfigManager r4 = com.fyber.inneractive.sdk.config.IAConfigManager.L
|
|
com.fyber.inneractive.sdk.util.z0 r4 = r4.x
|
|
java.lang.String r4 = r4.a()
|
|
r2.<init>(r4, r11)
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.m r4 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.m
|
|
android.content.Context r5 = r9.a
|
|
r4.<init>(r5, r11, r2)
|
|
android.content.Context r11 = r9.a
|
|
java.lang.String r2 = "ia-vid-cache-ex2"
|
|
java.io.File r11 = com.fyber.inneractive.sdk.player.cache.p.a(r11, r2)
|
|
if (r11 == 0) goto Lbc
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.j r2 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.j
|
|
r2.<init>()
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.l r5 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.l
|
|
r5.<init>(r11, r2)
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.e r11 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.e
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.q r2 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.q
|
|
r2.<init>(r1)
|
|
com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.c r6 = new com.fyber.inneractive.sdk.player.exoplayer2.upstream.cache.c
|
|
r6.<init>(r5, r1)
|
|
r11.<init>(r5, r4, r2, r6)
|
|
r4 = r11
|
|
Lbc:
|
|
if (r10 == r0) goto Ld0
|
|
com.fyber.inneractive.sdk.player.exoplayer2.source.n r10 = new com.fyber.inneractive.sdk.player.exoplayer2.source.n
|
|
com.fyber.inneractive.sdk.player.exoplayer2.extractor.c r5 = new com.fyber.inneractive.sdk.player.exoplayer2.extractor.c
|
|
r5.<init>()
|
|
int r6 = r9.r
|
|
android.os.Handler r7 = r9.x
|
|
com.fyber.inneractive.sdk.player.controller.w r8 = r9.y
|
|
r2 = r10
|
|
r2.<init>(r3, r4, r5, r6, r7, r8)
|
|
goto Ld9
|
|
Ld0:
|
|
com.fyber.inneractive.sdk.player.exoplayer2.extractor.hls.h r10 = new com.fyber.inneractive.sdk.player.exoplayer2.extractor.hls.h
|
|
android.os.Handler r11 = r9.x
|
|
com.fyber.inneractive.sdk.player.controller.w r0 = r9.y
|
|
r10.<init>(r3, r4, r11, r0)
|
|
Ld9:
|
|
r9.F = r10
|
|
r9.a(r10)
|
|
Lde:
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.player.controller.d.a(java.lang.String, int):void");
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.controller.i
|
|
public final void b(int i) {
|
|
int i2;
|
|
IAlog.a("%sseekTo called with %d playAfterSeek = %s", IAlog.a(this), Integer.valueOf(i), Boolean.TRUE);
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
if (eVar == null || this.z) {
|
|
return;
|
|
}
|
|
((com.fyber.inneractive.sdk.player.exoplayer2.g) eVar).a(true);
|
|
long j = i;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = (com.fyber.inneractive.sdk.player.exoplayer2.g) this.s;
|
|
if (!gVar.n.c() && gVar.l <= 0) {
|
|
i2 = gVar.n.a(gVar.r.a, gVar.h, false).c;
|
|
} else {
|
|
i2 = gVar.s;
|
|
}
|
|
gVar.a(i2, j);
|
|
}
|
|
|
|
public final void a(com.fyber.inneractive.sdk.player.exoplayer2.source.p pVar) {
|
|
com.fyber.inneractive.sdk.player.exoplayer2.e eVar = this.s;
|
|
if (eVar == null || pVar == null) {
|
|
return;
|
|
}
|
|
com.fyber.inneractive.sdk.player.exoplayer2.g gVar = (com.fyber.inneractive.sdk.player.exoplayer2.g) eVar;
|
|
if (!gVar.n.c() || gVar.o != null) {
|
|
gVar.n = com.fyber.inneractive.sdk.player.exoplayer2.q.a;
|
|
gVar.o = null;
|
|
Iterator<e.a> it = gVar.f.iterator();
|
|
while (it.hasNext()) {
|
|
it.next().d();
|
|
}
|
|
}
|
|
if (gVar.i) {
|
|
gVar.i = false;
|
|
com.fyber.inneractive.sdk.player.exoplayer2.source.u uVar = com.fyber.inneractive.sdk.player.exoplayer2.source.u.d;
|
|
gVar.p = gVar.c;
|
|
gVar.b.a(null);
|
|
Iterator<e.a> it2 = gVar.f.iterator();
|
|
while (it2.hasNext()) {
|
|
it2.next().e();
|
|
}
|
|
}
|
|
gVar.m++;
|
|
gVar.e.f.obtainMessage(0, 1, 0, pVar).sendToTarget();
|
|
a(com.fyber.inneractive.sdk.player.enums.b.Preparing);
|
|
}
|
|
}
|