-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera streamer stops sending frames (octoprint multicam setup) #144
Comments
I wanted to add some information and so I did a quick debug run with
meaning that the function buffer_lock_write_loop at http_jpeg.c:93 returns I noted, breaking on buffer_lock.c:141, that the function can hit
I wonder if this could be a concurrency related issue. |
Just wondering if you ever found a solution. I have been running into stability issues and 500 errors as well. I have an HD webcam that can do 1080 @ 60 fps. I suspect that my issue is related to concurrent requests because the instability seems to occur when I am streaming from my desktop and via OctoApp at the same time. |
I'm using
camera-streamer
onoctopi
to expose two webcams connected to a RPI4. Both webcams work correctly on other devices.When connecting to the served ports with a
GET /stream
, I often get a500
status code, as in the following response.The service is up and running. A request to
/
demonstrates that the server correctly exposes the resource:Note that the
systemd
process reports no errors when trying to connectFollows the output of
journalctl -u camera-streamer\*
that includes the run reported in the aforementioned output, also attaching a more comprehensive version of logs here.This configuration used to work at alternate intervals, sometimes the cameras would work correctly but suddently stops, without a clear reason or the occurring of a particular event. Currently, restarting the unit or rebooting the system won't fix the issue.
Some fixes I've already tried are:
systemctl restart camera-streamer
,sudo camera-streamer-control restart
, etc...)journalctl -fu camera-streamer\*
looking for errors or warningssudo shutdown now -r
I'm opening this issue after a post on the octoprint forum, more information can be found there. I may be switching to the "old" camera stack proposed by the octoprint mainline but, even if I didn't debug the program directly, I would be happy to provide valuable information for the resolution of the problem.
Thanks
The text was updated successfully, but these errors were encountered: