Nice work on this. I'm using a M5Camera model B - the one with PSRAM - and streaming successfully to Frigate. At first, however, the camera would not initialize. Looking at esp32cam_m5stack_camera_psram.json, I found this entry:
"'-D CAMERA_CONFIG_PIN_SCCB_SDA=25'"
and had to change it to:
"'-D CAMERA_CONFIG_PIN_SCCB_SDA=22'",
smooth sailing after that. I said "maybe" in the title because I'm not sure I selected the correct board in the first place. If I did, however, this entry needs to be changed. I've attached the file that works for me.
esp32cam_m5stack_camera_psram.json