audio_stream_player
Low-latency PCM audio streaming player. Feed raw audio chunks from TTS or realtime voice APIs and hear them as they arrive, with buffer introspection and underrun events.
What this package is like to depend on
Last release 21 days ago
02 Aug 2026
Release timing varies
gaps range from 2 weeks to 7.4 years
Most releases are documented
notes for 5 of 6 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6 releases · first in 2019
5 releases in the last 12 months
see the full history below
Release timeline
6 releases · Feb 2019 to Aug 2026Releases
latest 6-
1.1.002 Aug 2026Release notes
Open source →- Added web support: playback through the Web Audio API, with the same
gapless scheduling, underrun events,
endOfStream()drain future and buffered-duration gauge as the mobile/desktop backends. - Web notes: browsers only start audio after a user gesture, so make the
first
play()call from an input handler; sample rates are guaranteed for 8000-96000 Hz (most browsers accept more).
- Added web support: playback through the Web Audio API, with the same
gapless scheduling, underrun events,
-
1.0.302 Aug 2026Release notes
Open source →- Re-recorded the demo GIF with the animated wave buffer gauge, so the pub.dev screenshot matches the current example app.
- No functional changes.
-
1.0.202 Aug 2026Release notes
Open source →- Added a demo GIF of the example app to the README and package screenshots.
- No functional changes.
-
1.0.123 Jul 2026Release notes
Open source →- Shortened the package description to meet pub.dev's 180-character limit.
- No functional changes.
-
1.0.020 Jul 2026Release notes
Open source →Complete rewrite.
audio_stream_playeris now a low-latency raw PCM streaming player for feeding audio chunks from TTS and realtime voice APIs.- Feed
Uint8ListPCM chunks (s16leorf32le, mono or stereo, any sample rate) and hear them as they arrive. endOfStream()future that completes when the last sample has played.- Underrun events, buffered-duration introspection, pause/resume/stop, per-player volume, multiple concurrent players.
- Platforms: Android (
AudioTrack), iOS and macOS (AVAudioEngine, shared Darwin source, CocoaPods + Swift Package Manager).
The 0.0.1 URL-playback API from 2018 has been removed entirely.
- Feed
-
0.0.111 Feb 2019Nothing published for this version