flutter_realtime_voice_ai 0.1.1 copy "flutter_realtime_voice_ai: ^0.1.1" to clipboard
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.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