ESP32 Camera Buffer Space / API disconnects

actually there is a solution described here:

in a nutshell: clock frequencies above 8 MHz create interferences that lead to a range of problems. setting it to 8 MHz solved all my connectivity problems i had with my esp32 cams.
there needed to be some esphome code changes to be made (already merged), since only clock speeds between 10 and 20 were allowed. i don’t know if the patch is included in the latest esphome release, i patched it manually, and like i said, my esp32 cams work quite reliably now with a camera clock speed of 8 MHz.