Issue with Deepgram JS SDK: TTS speak.live Failing #1057
Replies: 4 comments
-
Thanks for asking your question. Please be sure to reply with as much detail as possible so the community can assist you efficiently. |
Beta Was this translation helpful? Give feedback.
-
Hey there! It looks like you haven't connected your GitHub account to your Deepgram account. You can do this at https://community.deepgram.com - being verified through this process will allow our team to help you in a much more streamlined fashion. |
Beta Was this translation helpful? Give feedback.
-
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
|
Beta Was this translation helpful? Give feedback.
-
I got this information from the log. Any pointers to resolve the issue ? |
Beta Was this translation helpful? Give feedback.
-
I am trying to implement Text-to-Speech (TTS) using the Deepgram JS SDK in my project. Here’s the code snippet I am using:
When I run this code, the connection to the WebSocket fails, and I get an error with the following URL:
wss://api.deepgram.com/v1/speak?model=aura-asteria-en&encoding=linear16&sample_rate=48000
It seems the connection is not being established, and I’m not sure what is causing the issue.
Steps to Reproduce:
Use the Deepgram JS SDK.
Configure the speak.live method with the parameters shown above.
Attempt to establish a WebSocket connection.
Beta Was this translation helpful? Give feedback.
All reactions