Skip to content

Conversation

@aconchillo
Copy link
Contributor

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

A few updates:

  • The main one are the return values of start_dialout and start_recording, which are now (session_id, error) or (recording_id, error).
  • Also, we move error logging to the transport instead of the client as much as possible.
  • We now check for errors and log them in every daily-python function called.

logger.info(f"Joined {self._room_url}")

if self._params.transcription_enabled:
await self.start_transcription(self._params.transcription_settings)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now do this in on_joined callback instead of in the join function itself. I think it's much cleaner that burying things.

await self._callbacks.on_before_leave()

if self._params.transcription_enabled:
await self.stop_transcription()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. We just stop transcription in on_before_leave. Good thing we added support for that!

@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

❌ Patch coverage is 0% with 126 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pipecat/transports/daily/transport.py 0.00% 126 Missing ⚠️
Files with missing lines Coverage Δ
src/pipecat/transports/daily/transport.py 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aconchillo aconchillo force-pushed the aleix/daily-transport-improve-error-handling branch 3 times, most recently from b7cd22b to e26d5e3 Compare October 24, 2025 00:48
@aconchillo aconchillo requested a review from vr000m October 28, 2025 00:54
@aconchillo aconchillo force-pushed the aleix/daily-transport-improve-error-handling branch from e26d5e3 to f2f725d Compare October 28, 2025 17:46
@aconchillo aconchillo force-pushed the aleix/daily-transport-improve-error-handling branch from f2f725d to d62443c Compare October 29, 2025 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants