rzeldent / esp32cam-rtsp

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

RTSP stream teardown #87

Open curiegupta opened 10 months ago

curiegupta commented 10 months ago

Hi, I am working on a project that uses ESP32S3-EYE board and a OV2640 camera. The camera configuration parameters are kept to default and the PSRAM is enabled.

Everything works great except that I am observing frequent disconnections on the RTSP stream. I am trying to access the RTSP stream with the help of ‘rtsp’ library in python. It is coming out to be good whenever I am running it for the first time. From second time onwards, the stream is not up.

It looks like the RTSP stream was not closed properly during the first time that it was running. If that is the case, how can I close the RTSP socket properly?

Any suggestions or help would be greatly appreciated!

Thanks in advance.

JohannesBauer97 commented 10 months ago

I can confirm the same behavior, once the web /stream page got opened, the RTSP connection is not working.

rzeldent commented 10 months ago

Hi Curie / Joba,

Disconnects are often caused by loss of connectivity or too much data going over the RTSP stream so the ESP cannot handle it anymore. Also, if the web page is opened and the MPEG stream is running, the RTSP stream will no longer work. Could this be the issue?

Rene

On Fri, Aug 25, 2023 at 10:26 AM Joba @.***> wrote:

I can confirm the same behavior, once the web /stream page got opened, the RTSP connection is not working.

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

rzeldent commented 5 months ago

OTA has been taken out in the develop branch this might increase performance... Could you try to see if the esp32S3-eye board is still working correctly with the new easy configurable board definitions?