Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
MediaRouter
Version used:
1.2.2~1.2.5 (the latest)
Devices/Android versions reproduced on:
All the Samsung galaxy series on Android 10, 11, 12
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
1. Play any video by ExoPlayer with Device default speaker
2. Connect Bluetooth headset (I used Samsung Galaxy buds Pro. but any other device can make the problem)
At this time, we can observe 'onRouteSelected' callback to route to the Bluetooth device
3. Disconnect Bluetooth headset
(PROBLEM) then, 'onRouteSelected' or 'onRouteChanged' callback does not come to route to the Device default speaker.
Moreover, after that,
The route information of all the callbacks such as onRouteVolumeChanged has always wrong selectedRoute information.
The value of selectedRoute is Bluetooth headset although the headset has been already disconnected.
The wrong information occurs every time until I force-close my application.