rzeldent / esp32cam-rtsp

Simple RTSP (streaming image) server for the ESP32CAM. Easy configuration and monitoring through the web interface.
664 stars 121 forks source link

Restart 100second delay #93

Closed berkutta closed 1 year ago

berkutta commented 1 year ago

Hi

Is there any reason to have a 100-second delay before performing the restart itself? Maybe it would make sense to remove it or at least reduce it to a few seconds.

https://github.com/rzeldent/esp32cam-rtsp/blob/aee7cbddd8b2ceb09f65d12ee309dca238a4904c/src/main.cpp#L198

rzeldent commented 1 year ago

Hi Benjamin,

This 100 millisecond delay is to make sure the html has been sent. Maybe this can be omitted or shortened.

On Mon, Sep 18, 2023 at 4:08 PM Benjamin Marty @.***> wrote:

Hi

Is there any reason to have a 100-second delay before performing the restart itself? Maybe it would make sense to remove it or at least reduce it to a few seconds.

https://github.com/rzeldent/esp32cam-rtsp/blob/aee7cbddd8b2ceb09f65d12ee309dca238a4904c/src/main.cpp#L198

— Reply to this email directly, view it on GitHub https://github.com/rzeldent/esp32cam-rtsp/issues/93, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2ENB3VS7QS3GE2XPT2CF3X3BIW5ANCNFSM6AAAAAA44ZGJJA . You are receiving this because you are subscribed to this thread.Message ID: @.***>