Page 1 of 1

[ESP32-LyraTD-MSC V2.1] Send audio over TCP

Posted: Fri Jan 18, 2019 5:29 pm
by maryvpa
Hello all,

I have the following issue, I need to send a voice recording from my ESP32-LyraTD-MSC V2.1 to a TCP server.
I can use the API to create an audio pipeline and link the I2S stream to capture the audio from the mic array but I can't figure out how to send that audio over a simple TCP connection...

Can anyone give any tip or advice?

Thanks in advance! :D

Cheers!

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Posted: Sun Jan 20, 2019 8:04 am
by fivdiAtESP32
Perhaps the "Recording WAV file and upload to HTTP Server" example provides some useful ideas.

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Posted: Mon Jan 21, 2019 10:46 am
by maryvpa
Thank you for your reply! I started my project based on this example, but this uses the HTTP stream already available on the API and doesn't help me so much with my goal of using a simple TCP socket where I can send only the audio that I want without any extra headers.

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Posted: Tue Mar 05, 2019 10:33 pm
by theronic
It seems that the raw audio over HTTP example is broken for the ESP32-LYRATD-MSC. Can anyone chime in on how to to get it working for the LYRA? Apparently it has to do with the Lyra using a different codec chip.

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Posted: Thu Jul 07, 2022 5:51 am
by Rnd1AtMypromosysMY
maryvpa wrote:
Mon Jan 21, 2019 10:46 am
Thank you for your reply! I started my project based on this example, but this uses the HTTP stream already available on the API and doesn't help me so much with my goal of using a simple TCP socket where I can send only the audio that I want without any extra headers.
Did you managed to solve the issue? I am also interested in sending audio data using TCP.