I want to build a little project to work with Alexa. Essentially I want to build a device consisting of an ESP32, and a small amplifier that I connect to a small speaker. I want to be able to ask Alexa to play music to this device. Can someone explain to me (or point me to somewhere where its already explained) how music files are streamed over wife to devices? What format is it in, etc.
I have seen several guides about streaming music you already have on your computer/usb/etc saved as a specific format to an ESP32. But I specifically want to be able to control it by voice Via Alexa. Any help is appreciated.