output_route_selector 1.0.0 copy "output_route_selector: ^1.0.0" to clipboard
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 devices
  • changeAudioOutput() method to switch between audio outputs
  • onAudioRouteChanged stream to listen for real-time route changes
  • AudioOutputSelector widget - Native iOS UIMenu widget for easy audio output selection
  • AudioModel class with device information
  • AudioDeviceType enum for device types
  • AudioRouteChangeEvent class 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
6
likes
0
points
463
downloads

Publisher

verified publisherraffazatyan.dev

Weekly Downloads

A Flutter plugin to select audio output routes (speaker, receiver, bluetooth, wired headset) on iOS devices.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on output_route_selector

Packages that implement output_route_selector