Fixed an issue in BaseOutputTransport where the loop could consume all CPU.

This commit is contained in:
Filipi Fuchter
2025-08-06 12:42:58 -03:00
parent 4364990fd0
commit bbe01d10ef
2 changed files with 11 additions and 0 deletions

View File

@@ -81,6 +81,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed an issue in the `BaseOutputTransport`, mainly reproducible with
`FastAPIWebsocketOutputTransport` when the audio mixer was enabled, where the
loop could consume 100% CPU by continuously returning without delay, preventing
other asyncio tasks (such as cancellation or shutdown signals) from being
processed.
- Fixed an issue where `BotStartedSpeakingFrame` and `BotStoppedSpeakingFrame`
were not emitted when using `TavusVideoService` or `HeyGenVideoService`.