voip_audio_route_manager_android 1.1.0
voip_audio_route_manager_android: ^1.1.0 copied to clipboard
Android implementation of voip_audio_route_manager. Manages audio routing using native Android AudioManager and communication device routing APIs.
1.1.0 - 2026-06-17 #
Added #
- Native call session lifecycle handling for Android voice communication mode and audio focus.
- Verified route selection results and explicit route clearing via
clearCommunicationDevice()on Android 12+. AudioDeviceCallbacklistener to stream real OS-level route changes to the platform channel.
Fixed #
- Fixed
switchToSpeaker()silently failing when the app is launched from a terminated state viaflutter_callkit_incoming(FCM inbound call scenario). - Replaced deprecated
setSpeakerphoneOn()withAudioManager.setCommunicationDevice()on Android 12+ (API 31+) for reliable speaker routing. - Set
AudioManagermode toMODE_IN_COMMUNICATIONbefore initiating any route changes. - Properly requested
AudioFocusRequestwithUSAGE_VOICE_COMMUNICATIONto ensure system routing works as expected.
1.0.0 #
- Initial stable release of the Android implementation package.
- Implements Android-specific audio output device routing via the AudioManager API.
- Adds support for Bluetooth SCO, Bluetooth LE Audio, wired headsets, and built-in speaker/receiver outputs.
- Integrates Android 12+
setCommunicationDeviceAPIs with robust fallback mechanisms for older Android versions.