All posts

Get Started with the Streaming Test Suite

Get Started with the Streaming Test Suite

If you’re just getting started with Deepgram’s live streaming transcription API, learning how to work with WebSockets and real-time audio can be tricky. That’s why we’re releasing a new open-source project: the streaming test suite!

The streaming test suite is designed to ensure you can stream basic audio to Deepgram before you begin building custom integrations. It also provides some sample code that may be helpful when creating your own integration.

The commented Python code demonstrates how to stream input from your microphone or a WAV file to Deepgram, and receive transcriptions back from our real-time endpoint. Once you’re up and running with our streaming test suite, you’ll have validated a couple of important points:

  1. your API key works

  2. you can connect to Deepgram’s API

  3. you can stream audio to Deepgram

  4. you can receive transcriptions for the audio.

If the script encounters any errors along the way, it’ll print a useful error message that gives you any context needed to either debug it or reach out to our support team.

After you successfully run the streaming test suite, you’ll be ready to integrate Deepgram with more complex audio sources. Happy building!

If you have any feedback about this post, or anything else around Deepgram, we'd love to hear from you. Please let us know in our GitHub discussions.

More with these tags:

Share your feedback

Thank you! Can you tell us what you liked about it? (Optional)

Thank you. What could we have done better? (Optional)

We may also want to contact you with updates or questions related to your feedback and our product. If don't mind, you can optionally leave your email address along with your comments.

Thank you!

We appreciate your response.