@pastel pond Thanks so much for this. I did get data sending to Deepgram now and I am getting results back - unfortunately they are always empty. And I can see audio is sending. I attached my current example.js file again, with the most recent updates - I removed my concatenation function to make sure that that wasn't the cause of the error. I see the data going over - here is the tail end of my console log. Any ideas for me? The request ID's are here too:
sent to socket
Audio data received: 8000 samples
sent to socket
Audio data received: 7168 samples
sent to socket
Audio data received: 7168 samples
sent to socket
Audio data received: 7808 samples
sent to socket
DATA FROM DEEPGRAM:
{"type":"Results","channel_index":[0,1],"duration":3.5300007,"start":24.9,"is_final":true,"speech_final":false,"channel":{"alternatives":[{"transcript":"","confidence":0,"words":[]}]},"metadata":{"request_id":"5d4dacd0-6195-4015-8ccc-4c659f82dc0e","model_info":{"name":"general-nova","version":"2023-07-28.18608","arch":"nova"},"model_uuid":"b227621c-0920-4128-b4b5-a3e0f525d2d7"},"from_finalize":false}
Time interval since last message: 27.207 seconds
Audio data received: 7168 samples
sent to socket
Audio data received: 7808 samples
sent to socket
Audio data received: 7168 samples
sent to socket
Audio data received: 7808 samples
sent to socket
Audio data received: 7168 samples
sent to socket
DATA FROM DEEPGRAM:
{"type":"Results","channel_index":[0,1],"duration":3.1100006,"start":28.43,"is_final":true,"speech_final":false,"channel":{"alternatives":[{"transcript":"","confidence":0,"words":[]}]},"metadata":{"request_id":"5d4dacd0-6195-4015-8ccc-4c659f82dc0e","model_info":{"name":"general-nova","version":"2023-07-28.18608","arch":"nova"},"model_uuid":"b227621c-0920-4128-b4b5-a3e0f525d2d7"},"from_finalize":false}
Time interval since last message: 29.435 seconds
Audio data received: 7808 samples
sent to socket