Encoding

STREAMING

Deepgram’s Encoding feature allows you to you to specify the expected encoding of your submitted audio. This feature is required when raw, headerless audio packets are sent to the streaming service. If containerized audio packets are sent to the streaming service, this feature should not be used.

If using the Encoding feature, the Sample Rate feature is also required.

Use Cases

Some examples of use cases for Encoding include:

  • Customers who need to stream raw audio data.

Enable Feature

To enable Encoding, when you call Deepgram’s API, add an encoding parameter in the query string and set it to the audio coding algorithm of your submitted audio:

encoding=OPTION

Deepgram supports the following audio coding algorithms:

For an example of audio streaming, see Getting Started with Streaming Audio.

For help determining your audio format and sample rate, see Determining Your Audio Format for Live Streaming Audio.

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.