Code Monkey home page Code Monkey logo

Comments (4)

ivadim avatar ivadim commented on June 9, 2024

Hi @kr3cj,
From error, it's most likely, camera module wasn't ready. Can you please try to add a sleep 5 seconds in video.sh?

from fruitnanny.

kr3cj avatar kr3cj commented on June 9, 2024

Thanks for the quick reply.

TL;DR
This might have caused some sort of improvement, but only in the eyes of systemd. Browsing to the feed shows a spinning icon for the video.

I tried experimenting with different amounts of sleep, between 5 and 30 seconds. What I see now is that systemd always reports that video.service is up (before, it would report failures from time to time). However, when browsing to the url, I always get a spinning icon for the video feed.

Looking into the logs, sometimes the last log message will report an error similar to the original one reported. Other times, it will report that it started successfully even though I still get a spinning icon after refreshing the webpage. Basically, I don't trust the logs from sudo journalctl --unit=video.service -n 50 and the video service continues to look unstable.

log_reports_error_but_videofeed_shows_spinning_icon.txt

log_reports_success_but_videofeed_shows_spinning_icon.txt

from fruitnanny.

kr3cj avatar kr3cj commented on June 9, 2024

Since janus v.0.4.2 fixed #5, I've done the same to see if it is fixed.

from fruitnanny.

ivadim avatar ivadim commented on June 9, 2024

@kr3cj thank you for the information

from fruitnanny.

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.