Code Monkey home page Code Monkey logo

Comments (3)

rzeldent avatar rzeldent commented on June 12, 2024

Hi Valentino,

Yes indeed a bummer. Reason is that normally the camera is only initialized when the internet connection to the AP is established.
Looking at the logging, the ESP32-CAM was not yet connected to the AP but in configuration mode. So, unhandled.
If you take a look at the status page you can see that there is no IP address present.

However, I looked at it and do not see a reason to initialize the camera earlier. I changed the code in the branch https://github.com/rzeldent/esp32cam-rtsp/tree/bugfix/camera_initialization. I gave it a quick test but please try if this solved your problem.

Kind regards,

Rene

from esp32cam-rtsp.

Fusseldieb avatar Fusseldieb commented on June 12, 2024

Thank you for your response.

I forgot mentioning that I also tried connecting it to an AP and also got an unhandled exception with a restart. This while having a valid IP, and crashed as soon as I did a GET /snapshot.

Thank you for a quick fix, however, I don't have an ESP32Cam nearby now, therefore I can't test it.

from esp32cam-rtsp.

rzeldent avatar rzeldent commented on June 12, 2024

Hi Valentino,

I committed the pull request and think this problem is now resolved.
Thanks for finding and mentioning this issue!

from esp32cam-rtsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.