Closed kylemcdonald closed 9 months ago
Hi @kylemcdonald . Thank you for trying out daily-python
. I believe the issue might be that you need to join the meeting with a meeting token. You can easily generate one with our REST API:
https://docs.daily.co/reference/rest-api/meeting-tokens/create-meeting-token
Once you have the token you can just pass it to the join()
function:
client.join(meeting_url, meeting_token = TOKEN);
Let us know if this solves the issue.
Just to clarify:
enable_transcription
domain property as you already mentioned in your message (using your Daily domain API key to make the request):curl -H "Content-Type: application/json" \
-H "Authorization: Bearer <daily.co key>" \
-XPOST -d '{"properties":{"enable_transcription": "deepgram:<deepgram key>"}}' \
https://api.daily.co/v1/
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer <daily.co key>" \
-XPOST -d \
'{"properties":{"is_owner":true}}' \
https://api.daily.co/v1/meeting-tokens
client.join(URL, meeting_token = TOKEN)
.I can confirm that I needed to join with a token, and now it works. Thank you for your help.
For anyone else who may read this in the future, I did not test whether I can transcribe with "is_owner":false
.
I would like to use the Deepgram-powered transcription service for my voice call app.
I tried building a simple app that only starts and stops transcription:
I call the app like this:
But when I start the app I get this error:
How can I fix this?
I thought maybe I need to enable transcription:
But I got the same error.
Or maybe it is permissions:
But I got the same error.
Please help 🙏