You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AUDIO_SESSION_ID is provided by an ExoPlayer instance in a background service, though it seems the value it is returning is 0, which I read is deprecated? I have also made sure to request runtime RECORD_AUDIO permission before attempting to initialise the visualiser.
The text was updated successfully, but these errors were encountered:
First of all thanks for providing this library, it looks great.
Only thing is, I’m having a problem where I run into the following error:
java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -3
The error is triggered at the following line:
VisualizerDbmHandler vizualizerHandler
= DbmHandler.Factory
.newVisualizerHandler(
PlayActivity.this,
state.getExtras().getInt(StreamingService.AUDIO_SESSION_ID)
);
The AUDIO_SESSION_ID is provided by an ExoPlayer instance in a background service, though it seems the value it is returning is 0, which I read is deprecated? I have also made sure to request runtime RECORD_AUDIO permission before attempting to initialise the visualiser.
The text was updated successfully, but these errors were encountered: