Receiving sound from UDP and play it with I2s

Hello, for a project I need to create a kind of WiFi speaker using ESP32 or ESP8266. I already know how to play a sound with the SPIFF using the library ESP8266Audio. I need to send audio data with UDP using a Cpp Program, and I need to use I2S to do this. For my library I use the ESP8266 audio and the Udp library from the esp8266 chip. Do you have any suggestion ?

I'm working on a similar project. My audio source is another development board (with STM32), and raw PCM audio is streamed via UDP. I'm using a different MCU though for the receiver and only planning on using the DAC to play the data (my MCU doesn't have an I2S peripheral)