Sending wav file on ESP32 to flask server
You need to do socket programming here for sending chunks of data to a socket server(Python end). Here is the link that can help you. Try establishing a connection between esp and python using socket programming and then you can send small chunks of audio.