diff --git a/CHANGELOG.md b/CHANGELOG.md index 35f392720..3a93a8346 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. ### Changed - ESP32 Platform from 2025.02.30 to 2025.03.30, Framework (Arduino Core) from v3.1.1.250203 to v3.1.3.250302 and IDF from v5.3.2.250120 to 5.3.2.250228 (#23088) +- ESP32 enable webcam version 2 (#18732) ### Fixed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index cb9a5ba1f..23b15dca0 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -128,6 +128,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ### Changed - ESP32 Platform from 2025.02.30 to 2025.03.30, Framework (Arduino Core) from v3.1.1.250203 to v3.1.3.250302 and IDF from v5.3.2.250120 to 5.3.2.250228 [#23088](https://github.com/arendst/Tasmota/issues/23088) - GPIOViewer from v1.6.1 to v1.6.2 (No functional change) +- ESP32 enable webcam version 2 [#18732](https://github.com/arendst/Tasmota/issues/18732) - LVGL, prepare for HASPmota theme, change: no-grow when clicked, DPI set to 160 [#23040](https://github.com/arendst/Tasmota/issues/23040) - LVGL Mirroring add checkbox to enable/disable the feature (in the iterim for a better solution) [#23047](https://github.com/arendst/Tasmota/issues/23047) - Leds Panel add checkbox to enable/disable the feature (in the iterim for a better solution) [#23048](https://github.com/arendst/Tasmota/issues/23048) diff --git a/tasmota/include/tasmota_configurations_ESP32.h b/tasmota/include/tasmota_configurations_ESP32.h index a9fa66f0a..2d4ecaf8e 100644 --- a/tasmota/include/tasmota_configurations_ESP32.h +++ b/tasmota/include/tasmota_configurations_ESP32.h @@ -211,7 +211,8 @@ #endif #define USE_WEBCAM -#define ENABLE_RTSPSERVER + #define USE_WEBCAM_V2 + #define ENABLE_RTSPSERVER #define USE_SPI #define USE_SDCARD diff --git a/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam_task.ino b/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam_task.ino index 1a019d7c4..21bd83751 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam_task.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam_task.ino @@ -1739,7 +1739,7 @@ static void WCOperationTask(void *pvParameters){ // every 100 frames or 5s if (!(loopcount % 100) || (statdur > 5000)){ float framespersec = ((float)framecount)/(((float)(thismillis - laststatmillis))/1000.0); - AddLog(LOG_LEVEL_DEBUG,PSTR("CAM: avFPS %f %s FS:%d(%d) f:%u s:%u"), + AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("CAM: avFPS %f %s FS:%d(%d) f:%u s:%u"), framespersec, jpeg_converted?"raw":"jpg", wc_fb->len,