Skip to content

fix(aws-stt): support aws-sdk-transcribe-streaming >=0.11.0 - #7074

Closed
chakshu-dhannawat wants to merge 1 commit into
livekit:mainfrom
chakshu-dhannawat:fix-aws-stt-0.11
Closed

fix(aws-stt): support aws-sdk-transcribe-streaming >=0.11.0#7074
chakshu-dhannawat wants to merge 1 commit into
livekit:mainfrom
chakshu-dhannawat:fix-aws-stt-0.11

Conversation

@chakshu-dhannawat

Copy link
Copy Markdown

aws-sdk-transcribe-streaming 0.11.0 renamed the client/config exports to AsyncTranscribeStreamingClient/AsyncTranscribeStreamingConfig, stopped installing awscrt, and requires await Config.resolve(...) instead of direct construction.\n\nThis change makes the AWS STT plugin compatible with both the pre-0.11 and 0.11+ APIs:\n- Try the new async names first, falling back to the legacy TranscribeStreamingClient/Config (and the 0.10 config alias).\n- Fall back from AWSCRTHTTPClient to AIOHTTPClient when awscrt is not installed.\n- Use Config.resolve(...) when available, otherwise construct directly.\n- Pass transport= to the config so the same HTTP client is reused and closed cleanly in SpeechStream.aclose().\n\nVerified tests/test_plugin_aws_stt.py passes with aws-sdk-transcribe-streaming==0.7.0 and 0.11.0.\n\nFixes #7072

@chakshu-dhannawat
chakshu-dhannawat requested a review from a team as a code owner September 1, 2026 00:42
devin-ai-integration[bot]

This comment was marked as resolved.

@chakshu-dhannawat
chakshu-dhannawat force-pushed the fix-aws-stt-0.11 branch 2 times, most recently from 57b2318 to 2d677aa Compare September 1, 2026 01:08
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@longcw

longcw commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

closing in favor of #7094

@longcw longcw closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants