-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Android 10 devices has ANR #11138
Comments
This is unfortunately something to be expect on some devices or devices with high load. When the See the Play Store explanation for those kind of issues: Since ExoPlayer recommend using main thread this is somewhat expected that most will create the player in main thread too. You can mitigate this by creating the player in a background thread and use |
We're closing this issue because there hasn't been any recent activity. |
@rohitjoins This is certainly to be considered a bug of ExoPlayer.... You are doing an IPC blocking call on init of the |
Hi! |
Bug
android.os.BinderProxy.transactNative(Native Method)
android.os.BinderProxy.transact(BinderProxy.java:610)
android.media.IAudioService$Stub$Proxy.getStreamVolume(IAudioService.java:4565)
android.media.AudioManager.getStreamVolume(AudioManager.java:1210)
com.google.android.exoplayer2.StreamVolumeManager.getVolumeFromManager(StreamVolumeManager.java:1)
com.google.android.exoplayer2.StreamVolumeManager.(StreamVolumeManager.java:8)
com.google.android.exoplayer2.SimpleExoPlayer.(SimpleExoPlayer.java:60)
com.google.android.exoplayer2.SimpleExoPlayer$Builder.build(SimpleExoPlayer.java:3)
io.flutter.plugins.videoplayer.VideoPlayer.(VideoPlayer.java:7)
io.flutter.plugins.videoplayer.VideoPlayerPlugin.create(VideoPlayerPlugin.java:16)
The text was updated successfully, but these errors were encountered: