-
Couldn't load subscription status.
- Fork 1.4k
DailyTransport: update start_dialout/start_recording return values #2911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| logger.info(f"Joined {self._room_url}") | ||
|
|
||
| if self._params.transcription_enabled: | ||
| await self.start_transcription(self._params.transcription_settings) |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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 Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
b7cd22b to
e26d5e3
Compare
e26d5e3 to
f2f725d
Compare
f2f725d to
d62443c
Compare
Please describe the changes in your PR. If it is addressing an issue, please reference that as well.
A few updates:
start_dialoutandstart_recording, which are now(session_id, error)or(recording_id, error).daily-pythonfunction called.