Restore shared media playback to speaker after headset loss
This commit is contained in:
1 parent
2b63c680b2
commit
c9a3a1334b
1 file changed
+1
@@ -56,6 +56,7 @@ object MediaAudioController {
|
||||
|
||||
init {
|
||||
// Наблюдение не занимает микрофон и не меняет глобальный маршрут без потребителей.
|
||||
router.fallbackRoute = AudioRoute.SPEAKER
|
||||
router.setGlobalRouting(false)
|
||||
router.onChanged = { _, _ -> refresh() }
|
||||
router.onInputDevicesChanged = { _, _ -> refresh() }
|
||||
|
||||
Reference in new issue
Block a user