Merge pull request #1248 from pipecat-ai/aleix/daily-transport-room-url
daily: add room_url property
This commit is contained in:
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- Added `room_url` property to `DailyTransport`.
|
||||||
|
|
||||||
- Added `addons` argument to `DeepgramSTTService`.
|
- Added `addons` argument to `DeepgramSTTService`.
|
||||||
|
|
||||||
- Added `exponential_backoff_time()` to `utils.network` module.
|
- Added `exponential_backoff_time()` to `utils.network` module.
|
||||||
|
|||||||
@@ -329,6 +329,10 @@ class DailyTransportClient(EventHandler):
|
|||||||
def _speaker_name(self):
|
def _speaker_name(self):
|
||||||
return f"speaker-{self}"
|
return f"speaker-{self}"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def room_url(self) -> str:
|
||||||
|
return self._room_url
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def participant_id(self) -> str:
|
def participant_id(self) -> str:
|
||||||
return self._participant_id
|
return self._participant_id
|
||||||
@@ -1112,6 +1116,10 @@ class DailyTransport(BaseTransport):
|
|||||||
# DailyTransport
|
# DailyTransport
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@property
|
||||||
|
def room_url(self) -> str:
|
||||||
|
return self._client.room_url
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def participant_id(self) -> str:
|
def participant_id(self) -> str:
|
||||||
return self._client.participant_id
|
return self._client.participant_id
|
||||||
|
|||||||
Reference in New Issue
Block a user