ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

ANR on calling setVideoSurfaceInternal in SimpleExoplayer class

Open hugbio opened this issue 3 years ago • 2 comments
trafficstars

ExoPlayer Version

Older (unsupported)

2.7.3

Devices that reproduce the issue

Oppo/COLOROS runing android 11 XiaoMi/MIUI runing Android 10 ...

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

No

Reproduction steps

Not able to reproduce as getting traces for market users.

Expected result

anr does not appear

Actual result

ANR on calling setVideoSurfaceInternal in SimpleExoplayer class

Media

Not available at the moment, no way to know the media when the question was sent. and I guess it has nothing to do with the media

Bug Report

  • [ ] You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

hugbio avatar Sep 06 '22 03:09 hugbio

main

ANR_EXCEPTION

Find process anr, but unable to get anr message.

java.lang.Object.wait(Native Method)

java.lang.Object.wait(Object.java:442)

java.lang.Object.wait(Object.java:568)

com.google.android.exoplayer2.PlayerMessage.blockUntilDelivered(PlayerMessage.java:4)

com.google.android.exoplayer2.SimpleExoPlayer.setVideoSurfaceInternal(SimpleExoPlayer.java:9)

com.google.android.exoplayer2.SimpleExoPlayer.setVideoSurface(SimpleExoPlayer.java:2)

com.google.android.exoplayer2.SimpleExoPlayer.clearVideoSurface(SimpleExoPlayer.java:1)

k.a.q.c.c.v(AudioPlayerExoPlayerController.java:2)

k.a.p.b.g.f$i.a(PatchAdvertInterceptor.java:9)

k.a.p.b.g.f$i.onNext(PatchAdvertInterceptor.java:1)

o.a.g0.d.onNext(SerializedObserver.java:15)

io.reactivex.internal.operators.observable.ObservableTimeoutTimed$TimeoutTimedObserver.onNext(ObservableTimeoutTimed.java:4)

io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onNext(ObservableCreate.java:3)

hugbio avatar Sep 06 '22 03:09 hugbio

I'm wondering if there is a minimum version that will fix this.

hugbio avatar Sep 06 '22 03:09 hugbio