Closed franki29 closed 9 months ago
My gut feeling is that you are just running out of memory. I think using WIFI with more recent ESP32 core versions just does not provide enough free RAM any more. Did you try the Decoder w/o WIFI ?
I suggest to use WAV, this is much more memory efficient...
Just added a test case to confirm that the codec is working.
So it must be the limited RAM...
If you have PSRAM you can get it to work by using PSRAM.
I got it to work with e.g. heap_caps_malloc_extmem_enable(1024);
Actually, comparing with my other examples, you just forgot to configure the codec to use less RAM
Problem Description
Using the sketch above I get following error:[
I] StreamCopy.h : 356 - try write - 21 (open 1024 bytes) [E] AACEncoderFDK.h : 234 - Encoding failed: Handle passed to function call was invalid
Device Description
ESP32 DEV Module
Sketch
Other Steps to Reproduce
No response
What is your development environment
Arduino IDE 2.3.2
I have checked existing issues, discussions and online documentation