Fetch Hosted Audio Streams In The Browser
This tutorial demonstrates how to fetch an audio stream from a URL, send the stream data to Deepgram, and receive transcriptions in real-time using Fetch API and WebSocket. The process involves opening a WebSocket channel to Deepgram, requesting the hosted audio stream data from the URL, and passing the stream in incremental chunks to Deepgram for transcription. This technique is particularly useful when working with live stream data and receiving real-time transcriptions from Deepgram's speech-to-text API.
Company
Deepgram
Date published
June 16, 2022
Author(s)
Sandra Rodgers
Word count
921
Language
English
Hacker News points
None found.