AudioBufferProcessor: add on_user_turn_audio_data and on_bot_turn_audio_data

This commit is contained in:
Aleix Conchillo Flaqué
2025-03-05 17:20:02 -08:00
parent 710eebab09
commit 06c742a2ad
2 changed files with 70 additions and 7 deletions

View File

@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `on_user_turn_audio_data` and `on_bot_turn_audio_data` to
`AudioBufferProcessor`. This gives the ability to grab the audio of only that
turn for both the user and the bot.
- Added new base class `BaseObject` which is now the base class of
`FrameProcessor`, `PipelineRunner`, `PipelineTask` and `BaseTransport`. The
new `BaseObject` adds supports for event handlers.