Skip to content

RecordRTC chunks throwing Bad Request: Invalid data received. #204

Closed Answered by nikolawhallon
singhalpk asked this question in General help
Discussion options

You must be logged in to vote

We have some docs which might be useful: https://developers.deepgram.com/docs/determining-your-audio-format-for-live-streaming-audio

It looks like you may need to attach sample_rate=16000&channels=2&multichannel=true&encoding=linear16 or sample_rate=16000&channels=2&multichannel=true&encoding=opus if the audio is raw (it's not clear to me if RecordRTC uses PCM or Opus, looking at https://recordrtc.org/ I think it could be either).

However, I think webm audio is containerized, so these parameters maybe need not be specified. Can you share the full URL/query parameters you use for your requests, and maybe a request ID for a failing request?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jpvajda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants