Skip to content

Unauthorized (HTTP/1.1 401 Unauthorized) for Streaming Socket Android App #234

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

You must be logged in to vote

I looked at those requests, and they seemed to process fine - if there is no transcript, it is either because there was no speech, or, more likely, because the audio format is not set correctly - are you specifying encoding=linear16&sample_rate=44100? And if so, are you sure this is correct? (Looking at the code, this is what it appears to be, but it is possible it isn't - the best way to validate that we suggest is here: https://github.com/deepgram/streaming-test-suite/tree/main#validate-your-audio).

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@mhmohebbi
Comment options

@nikolawhallon
Comment options

@mhmohebbi
Comment options

@nikolawhallon
Comment options

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
3 participants