TypeError: Invalid base URL: wss://api.deepgram.com #873
Unanswered
athar1711
asked this question in
General help
Replies: 1 comment
-
Thanks for asking your question about Deepgram! If you didn't already include it in your post, please be sure to add as much detail as possible so we can assist you efficiently, such as:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys.
I am integrating Deepgram JS SDK in React Native for transcribing a streaming audio in my app. Following this documentation (https://developers.deepgram.com/docs/node-sdk-streaming-transcription)
I initialised the SDK doing this and it initialized successfully:
import { createClient } from "@deepgram/sdk";
const deepgram = createClient("DEEPGRAM_API_KEY");
But on this line:
const live = deepgram.listen.live({ model: "nova-2" });
I am getting this error: TypeError: Invalid base URL wss://api.deepgram.com
I am working in ReactNative 0.70 and using Deepgram SDK 3.5.0. Can anyone guide me, what is the issue and what I am doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions