-
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
AudioSessionId=0 always. The problem with getting an audio session. #6954
Comments
mMediaPlayer.setForegroundMode(false); |
I don't know if it's right anymore.
Why is my code not formatted I don't know. It's Githab bug. |
What is the type of mMediaPlayer? Did it work with a previous version of ExoPlayer? Could you please provide steps to reproduce the issue, together with the test contents, as described here? |
Thank you for the answer. This bug is available if you call stop after a track with mMediaPlayer.setForegroundMode(true); |
I have problem on the 2.11.1 release right now.
Sometimes, when switching different files, with different codecs, with codec cache enabled, onAudioSessionId events do not work at all! At this time mMediaPlayer.getAudioSessionId() produces 0.
Most often it happens when you switch from 4k movie to mp3 track.
Music is playing, but no audio session and no onAudioSessionId events.
Fix it, please.
What details are you interested in?
The text was updated successfully, but these errors were encountered: