So I’ve tried this with a different ESP32 dev board (NodeMCU) and with a PCM5102A DAC, same issue. When I play a media file from Home Assistant to the I²S Media Player, the ESP crashes.
This is definitely a software issue. I would be grateful if anyone could offer some help.