output_route_selector 1.0.0
output_route_selector: ^1.0.0 copied to clipboard
A Flutter plugin to select audio output routes (speaker, receiver, bluetooth, wired headset) on iOS devices.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-01-19 #
Added #
- Initial release
- iOS support for audio output route selection
- Support for Speaker, Receiver, Wired Headset, and Bluetooth devices
getAvailableAudioOutputs()method to get all available audio deviceschangeAudioOutput()method to switch between audio outputsonAudioRouteChangedstream to listen for real-time route changesAudioOutputSelectorwidget - Native iOS UIMenu widget for easy audio output selectionAudioModelclass with device informationAudioDeviceTypeenum for device typesAudioRouteChangeEventclass for route change notifications- Extension methods for user-friendly device names
- Automatic detection of route changes from Control Center, Dynamic Island, and device connect/disconnect
- Smart retry mechanism (3 attempts with increasing delays) to ensure route changes are properly detected
- Automatic refresh of outputs after every route change
- Native iOS menu with checkmarks for active devices
- Comprehensive error handling with PlatformException
- Full documentation and examples with event listening and widget usage