question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API level 29 (10) and 30 (11) only at android.media.MediaHTTPConnection.disconnect (MediaHTTPConnection.java:171) at android.media.IMediaHTTPConnection$Stub.onTransact (IMediaHTTPConnection.java:132) at android.os.Binder.execTransactInternal (Binder.java:1036) at android.os.Binder.execTransact (Binder.java:1003) at android.media.MediaPlayer._reset (Native method) at android.media.MediaPlayer.reset (MediaPlayer.java:2149) at com.brentvatne.react.ReactVideoView.setSrc (ReactVideoView.java:273) at com.brentvatne.react.ReactVideoView.setSrc (ReactVideoView.java:254) at com.brentvatne.react.ReactVideoView.onAttachedToWindow (ReactVideoView.java:725) at android.view.View.dispatchAttachedToWindow (View.java:19614) at android.view.ViewGroup.dispatchAttachedToWindow (ViewGroup.java:3439) at android.view.ViewGroup.dispatchAttachedToWindow (ViewGroup.java:3439) at android.view.ViewGroup.dispatchAttachedToWindow (ViewGroup.java:3439) at android.view.ViewGroup.addViewInner (ViewGroup.java:5152) at android.view.ViewGroup.addView (ViewGroup.java:4938) at android.view.ViewGroup.addView (ViewGroup.java:4878) at android.view.ViewGroup.addView (ViewGroup.java:4851) at androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:326) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1187) at androidx.fragment.app.FragmentManager.addAddedFragments (FragmentManager.java:2224) at androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1997) at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1953) at androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1849) at androidx.fragment.app.FragmentManager$4.run (FragmentManager.java:413) at android.os.Handler.handleCallback (Handler.java:883) at android.os.Handler.dispatchMessage (Handler.java:100) at android.os.Looper.loop (Looper.java:241) at android.app.ActivityThread.main (ActivityThread.java:7604) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:941)

Unknown to reproduce

Platform

Android

Environment info

RN 0.63.4 “react-native-video”: “^5.1.1”,

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7

github_iconTop GitHub Comments

1reaction
freeboubcommented, May 18, 2022

@UberMC read the doc 😉 https://github.com/react-native-video/react-native-video#android-installation In next major release old media player should be removed (then exoplayer will be the default player)

0reactions
UberMCcommented, May 12, 2022

@freeboub How do you “use exoplayer” I’ve done some searching and am having trouble understanding

Read more comments on GitHub >

github_iconTop Results From Across the Web

ANRs - Android Developers
User-perceived ANR rate is a core vital meaning that it affects the discoverability of your app on Google Play. It is important because...
Read more >
What is ANR and How it Can be Prevented in Android?
ANR stands for Application Not Responding. An ANR will occur if you're running a process on the UI thread which takes an extended...
Read more >
Debug your Android app based on ANR tags in the ... - Firebase
Application Not Responding (ANR) errors are triggered when the UI thread of the application is not responding for more than 5 seconds. You...
Read more >
Deep dive into Android ANR | OkCredit - Medium
To discover ANR, Android implements a set of sophisticated mechanisms at the system level. ANR can be classified into various categories.
Read more >
Android - how do I investigate an ANR? - Stack Overflow
An ANR happens when some long operation takes place in the "main" thread. This is the event loop thread, and if it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found