Node-live-example doesn't work for safari. #222
Replies: 2 comments 5 replies
-
You may want to check that MediaRecorder returns something. It may be that you need a polyfill in Safari. I will make a note to update that sample code. |
Beta Was this translation helpful? Give feedback.
-
The fix was simple for me: Safari seems to send empty data to Deepgram servers while Chrome doesn't. So I added this to my client: This fixed it on desktop, though I haven't tried it on mobile yet. Hope this helps you! |
Beta Was this translation helpful? Give feedback.
-
I'm running the Node-live-example https://github.com/deepgram-devs/node-live-example.git, which is a server-client in node.js to run streaming transcription with audio from the browser's mic.
I'm testing the code exactly as it is in the repo.
It runs as expected in Chrome and edge.
The
transcriptReceived
listener receives the following JSON:However, for safari, this is what I get:
Has anyone been through this before?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions