ESP32-Cam with Tasmota and RTSP

Somewhere in the tasmota discussion it was mentioned that choosing too high a resolution will crash the esp32/tasmota due to insufficient RAM available.

One way is to set a viable image/stream resolution in the >B boot up section (scripting) and start the stream at WiFi connect (>S), like so:

>D
res=0
w=0
h=0

>B
res=wc(0 8)
; img w/h
w=wc(3)
h=wc(4)
dp2.0

>S
if wific>0
then
  ; start stream on wifi connect
  res=wc(5 1)
endif

References:
Tasmota Scripting => “ESP32 Webcam support”
ESP32 Tasmota Webcam

No more crashing esp32 using the esp32cam here.

1 Like