From 83f1a8830d48fee659c1864561a6a6d1b4fd481a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 19 Feb 2025 09:29:53 -0800 Subject: [PATCH] daily: add room_url property --- CHANGELOG.md | 2 ++ src/pipecat/transports/services/daily.py | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b72d15b9..0ff842b1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added `room_url` property to `DailyTransport`. + - Added `addons` argument to `DeepgramSTTService`. - Added `exponential_backoff_time()` to `utils.network` module. diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index 2274b3e8f..7ce329659 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -329,6 +329,10 @@ class DailyTransportClient(EventHandler): def _speaker_name(self): return f"speaker-{self}" + @property + def room_url(self) -> str: + return self._room_url + @property def participant_id(self) -> str: return self._participant_id @@ -1112,6 +1116,10 @@ class DailyTransport(BaseTransport): # DailyTransport # + @property + def room_url(self) -> str: + return self._client.room_url + @property def participant_id(self) -> str: return self._client.participant_id