Skip to content

v2.22.30

Choose a tag to compare

@luk384090-cloud luk384090-cloud released this 14 Aug 08:08
· 3 commits to main since this release
88741a5

What's Changed

Bug Fixes

  • Restore fixed WebSocket failure status code 44 for handshake failure (#257)
    • The 4xx fail-fast change started surfacing the upstream HTTP status code (e.g. 401) in the ApiException status, which breaks callers that rely on the fixed websocket failure status code 44

Improvements

  • Refactor CosyVoice TTS stability and WebSocket handshake error handling (#256)
    • Fix TTS cancel hang when connecting
    • WebSocket handshake 4xx fail-fast instead of retrying
    • Make audio streaming pool size and queue configurable
    • Support flush() in SpeechSynthesizerV2

Code Quality

  • Add comprehensive test coverage for WebSocket error handling
  • Add test coverage for SpeechSynthesizerV2

Full Changelog

v2.22.29...v2.22.30

👥 Contributors

  • songguocola
  • lzsweb
  • luk384090-cloud