bogerchan / Nier-Visualizer

A lightweight and efficient Android visual library.
Apache License 2.0
576 stars 75 forks source link

java.lang.RuntimeException: Cannot initialize Visualizer engine #34

Closed jpjpjp28 closed 2 years ago

jpjpjp28 commented 4 years ago

I am playing a music from a streaming website and run into this error:

Caused by: java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -3

Does your library support streaming audio?

bogerchan commented 3 years ago

Hi, @jpjpjp28 , thanks for using the library, the error is occurred form Visualizer, how do you initialize the library?

mneckoee commented 3 years ago

@jpjpjp28 see this: Android Visualizer won't pick up audio from Spotify streaming music Adding "android.permission.RECORD_AUDIO" to manifest and requesting for runtime permissions fixed the issue restart your device if needed