Skip to content
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

Audio visualizer not showing the visualization even when audio session Id passed #18

Open
sagarrock101 opened this issue Nov 23, 2020 · 4 comments

Comments

@sagarrock101
Copy link

audioVisualizer = binding.audioVisualizer
        var audioSession = playerViewModel.audioSessionId
        if (audioSession != -1)
            audioVisualizer?.setAudioSessionId(audioSession)
        audioVisualizer?.setColor(getAudioVisualizerColor())

The visualizer is showing up but is not matching with the song, it's just a circle I am using blobVisualizer

@sagarrock101
Copy link
Author

sagarrock101 commented Nov 27, 2020

please help I need to connect the media player playing in my serivce class to this audio visualizer , Is there a way to do this

@northout-silky
Copy link

Hi @sagarrock101 Have you find any solution to this because I am also facing the same issue.

@sagarrock101
Copy link
Author

@northout-silky No I didn't find any solution, I guess this library works only if you have the mediaPlayer in UI and not in the background like Serivce

@northout-silky
Copy link

Ok, Thanks. @sagarrock101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants