Merge pull request #2334 from Designedforusers/fix/tavus-transport-daily-callbacks

fix: Add missing transcription callbacks to TavusTransport for 0.0.77 compatibility
This commit is contained in:
Mark Backman
2025-08-02 16:09:57 -07:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed an issue in `LiveKitTransport` where empty `AudioRawFrame`s were pushed
down the pipeline. This resulted in warnings by the STT processor.
- Fixed an issue with the `TavusVideoService` where an error was thrown due to
missing transcription callbacks.
## [0.0.77] - 2025-07-31
### Added

View File

@@ -245,6 +245,10 @@ class TavusTransportClient:
on_recording_started=partial(self._on_handle_callback, "on_recording_started"),
on_recording_stopped=partial(self._on_handle_callback, "on_recording_stopped"),
on_recording_error=partial(self._on_handle_callback, "on_recording_error"),
on_transcription_stopped=partial(
self._on_handle_callback, "on_transcription_stopped"
),
on_transcription_error=partial(self._on_handle_callback, "on_transcription_error"),
)
self._client = DailyTransportClient(
room_url, None, "Pipecat", self._params, daily_callbacks, self._bot_name