We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f71cd commit aa66d86Copy full SHA for aa66d86
esp32-cam-webserver.ino
@@ -485,11 +485,11 @@ void setup() {
485
// originally: config.xclk_freq_hz = 20000000;
486
config.xclk_freq_hz = 16500000; // See https://github.com/espressif/esp32-camera/issues/150#issuecomment-726473652 et al.
487
config.pixel_format = PIXFORMAT_JPEG;
488
- //init with highest supported specs to pre-allocate large buffers
+ // Pre-allocate large buffers
489
if(psramFound()){
490
config.frame_size = FRAMESIZE_UXGA;
491
config.jpeg_quality = 10;
492
- config.fb_count = 2;
+ config.fb_count = 6; // We can be generous since we are not using facedetect anymore, allows for bigger jpeg frame size (data)
493
} else {
494
config.frame_size = FRAMESIZE_SVGA;
495
config.jpeg_quality = 12;
0 commit comments