flutter_realtime_voice_ai 0.2.0 copy "flutter_realtime_voice_ai: ^0.2.0" to clipboard
flutter_realtime_voice_ai: ^0.2.0 copied to clipboard

A Flutter package for streaming voice recording, and audio playback with focus on real-time voice interactions.

Changelog #

0.2.0 #

Added #

  • AudioPlaybackService: Comprehensive playback service combining all audio features
  • AudioTone: Model for generating and managing audio tones
  • File Playback: Support for playing audio from file paths
  • Tone Generation: Built-in dialing and call end tone generation
  • Repeating Tones: Support for repeating audio tones (like dialing)
  • Enhanced VoicePlayerService: File playback, tone playback, repeating tones
  • AudioTone.dialingTone(): Factory method for creating dialing tones
  • AudioTone.callEndTone(): Factory method for creating call end tones

Enhanced #

  • VoicePlayerService: Added file playback, tone playback, and repeating tone features
  • State Management: Improved state handling across all services
  • Error Handling: Better error recovery and timeout protection
  • Resource Management: Enhanced cleanup and disposal methods

Features #

  • Streaming Playback: Buffer-based audio streaming with chunk management
  • File Playback: Direct file path audio playback
  • Tone System: Built-in tone generation for calls and notifications
  • State Isolation: Separate services prevent state conflicts
  • Progress Monitoring: Real-time playback progress and position tracking

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.0
  • record: ^6.0.0
  • logger: ^2.6.1

Platform Support #

  • Android
  • iOS

Types of changes #

  • Added for new features
  • Changed for changes in existing functionality
  • Deprecated for soon-to-be removed features
  • Removed for now removed features
  • Fixed for any bug fixes
  • Security in case of vulnerabilities
0
likes
140
points
188
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for streaming voice recording, and audio playback with focus on real-time voice interactions.

Homepage

Topics

#voice #audio #streaming #recording #playback

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_sound, http, logger, path_provider, record, stacked, stacked_services, uuid, web_socket_channel

More

Packages that depend on flutter_realtime_voice_ai