flutter_realtime_voice_ai 0.1.1
flutter_realtime_voice_ai: ^0.1.1 copied to clipboard
A Flutter package for streaming voice recording, and audio playback with focus on real-time voice interactions.
Changelog #
0.1.0 #
Added #
- Initial release of Flutter Realtime Voice AI Package
- Stream recording from device microphones with permission handling
- Streaming audio playback with buffering support
- State management for recorder and player
- Example Flutter app demonstrating package usage
- Unit tests for core functionality
0.1.1 #
- Add forceReset() method for aggressive state cleanup
- Enhance stopRecording() with timeout protection and guaranteed state transitions
- Improve error handling to prevent stuck recorder states
- Add state validation for detecting and fixing inconsistencies
- Fix state conflicts between voice calls and voice notes
Features #
- VoiceRecorderService: Handles microphone input → Audio Stream → Data Processing
- VoicePlayerService: Receives audio chunks → Buffer → Playback smoothly
- AudioChunk: Model for audio data with metadata
- StreamConfig: Configuration for audio streaming parameters
- State enums: VoiceRecorderState, VoicePlayerState, ConnectionState
Dependencies #
flutter_sound
: ^9.28.0record
: ^6.0.0logger
: ^2.6.1
Platform Support #
- Android
- iOS
Types of changes #
Added
for new featuresChanged
for changes in existing functionalityDeprecated
for soon-to-be removed featuresRemoved
for now removed featuresFixed
for any bug fixesSecurity
in case of vulnerabilities