Baseflow / Baseflow/XamarinMediaManager
[Android] Playback over Bluetooth doesn't stop when Bluetooth Connection is lost
- Dominant language
- C#
- Stars
- 763
- Forks
- 299
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report / Feature Request
What is happening right now:
- I play Music in my Car over Bluetooth.
- I turn off the car and exit it.
- After 3 Meters away from the car my phone starts playing music, if I notice it.
What would be nice:
(A Option) When the Bluetooth Connection is lost over which the Media is played back, the playback is stopped. As soon as as the connection exists to the blueotooth network again the playback is resumed.
I saw something simular mentionend here but I think then the unterlying Media Player was a completly different one.
https://github.com/Baseflow/XamarinMediaManager/issues/122
Not shure if this needs to be realized on a higher abstraction level or if this is an issue of ExoPlayer.
Also it would be nice, if the player was disposed by Android and the Bluetooth network is entered that the player app is started again at this position. Currently reading about Broadcast Receiviers android.bluetooth.BluetoothDevice.ACTION_ACL_CONNECTED
**Version:** 0.97
**Platform:**
- [ ] :iphone: iOS
- [X] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [ ] :monkey: Xamarin.Forms
Contributor guide
Assessment
This issue has not been assessed yet.