Streaming OPUS example
Posted: Thu May 09, 2024 5:30 am
Hi all
Looking for any examples of streaming audio using OPUS codec. The codec examples in the ADF are for reading from a SD card and using the AAC codec and there's little documentation around it anyway. I'm trying to read from a TLV320 audio codec chip (got this working ok), compress the audio using OPUS codec, and send via UDP. Then receive it on another ESP32 and spit it back out again - basically a 2 way walkie talkie device.
At the moment I've got it working great using uncompressed data straight out of the TLV320 but I'd like to get the bandwidth down a bit. Anybody got any examples? Google isn't helping me today.
Cheers
Matt
Looking for any examples of streaming audio using OPUS codec. The codec examples in the ADF are for reading from a SD card and using the AAC codec and there's little documentation around it anyway. I'm trying to read from a TLV320 audio codec chip (got this working ok), compress the audio using OPUS codec, and send via UDP. Then receive it on another ESP32 and spit it back out again - basically a 2 way walkie talkie device.
At the moment I've got it working great using uncompressed data straight out of the TLV320 but I'd like to get the bandwidth down a bit. Anybody got any examples? Google isn't helping me today.
Cheers
Matt