Skip to content

Tracking Issue: Add close() cleanup to STT/TTS plugins #881

@KrishnaShuk

Description

@KrishnaShuk

Describe the bug

Following the pattern from PR #874, several STT and TTS plugins are missing a close() implementation. This can cause hanging network requests or resource leaks when a session ends.

I plan to add the AbortController cancellation pattern to the remaining plugins.

Cleanup Checklist:

TTS Plugins:

STT Plugins:

Relevant log output

No response

Describe your environment

  • @livekit/agents version: latest
  • Node.js version: 20+

Minimal reproducible example

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions