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

maryvpa
Posts: 3
Joined: Fri Jan 18, 2019 5:20 pm

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

Postby maryvpa » Fri Jan 18, 2019 5:29 pm

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!

fivdiAtESP32
Posts: 47
Joined: Thu Dec 20, 2018 9:47 am

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

Postby fivdiAtESP32 » Sun Jan 20, 2019 8:04 am

Perhaps the "Recording WAV file and upload to HTTP Server" example provides some useful ideas.

maryvpa
Posts: 3
Joined: Fri Jan 18, 2019 5:20 pm

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

Postby maryvpa » 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.

theronic
Posts: 3
Joined: Tue Mar 05, 2019 10:31 pm

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

Postby theronic » Tue Mar 05, 2019 10:33 pm

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.

Rnd1AtMypromosysMY
Posts: 5
Joined: Thu Jul 07, 2022 4:43 am

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

Postby Rnd1AtMypromosysMY » Thu Jul 07, 2022 5:51 am

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.

Who is online

Users browsing this forum: No registered users and 6 guests