Merge pull request #2682 from pipecat-ai/filipi/smallwebrtc_leak

Smallwebrtc memory leak
This commit is contained in:
Filipi da Silva Fuchter
2025-09-18 18:56:08 -03:00
committed by GitHub
5 changed files with 87 additions and 36 deletions

View File

@@ -47,6 +47,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed a memory leak in `SmallWebRTCTransport`. In `aiortc`, when you receive
a `MediaStreamTrack` (audio or video), frames are produced asynchronously. If
the code never consumes these frames, they are queued in memory, causing a
memory leak.
- Fixed an issue in `AsyncAITTSService`, where `TTSTextFrames` were not being
pushed.