Skip to content

@cloudflare/voice@0.3.3

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jun 12:20
· 2 commits to main since this release
062611d

Patch Changes

  • #1605 8bfebf0 Thanks @cjol! - Support AI SDK fullStream responses in voice turns and warn when textStream is used.

  • #1772 d4f27fe Thanks @mattzcarey! - Include each package's documentation in its published package.

  • #1816 f18ff01 Thanks @cjol! - Fix assistant speech playing back slow on a new turn after an idle gap. VoiceClient routes playback through a MediaStreamAudioDestinationNode -> HTMLAudioElement bridge, and reusing that element for a fresh burst after it had been idle between turns made the new turn resume at the wrong rate (audible as slow-motion that re-converges to normal over the turn). The bridge is now torn down and rebuilt once it has fully drained and been idle past a short threshold, so each turn plays through a freshly created element. Rebuilds never happen mid-turn, since chunks within a turn keep at least one source scheduled on the playback cursor.