-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d0f5a0
commit c3a6d40
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c3a6d40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may have introduced a new bug. If I start a video stream, navigate away from the Video Streaming page on the web UI, and then click on Video Streaming again, the web UI hangs with a progress bar forever, and this shows up in the app log:
2024-02-04 19:10:02 error [server/networkManager.js]: uncaughtException: Cannot read properties of undefined (reading 'fpsmax') TypeError: Cannot read properties of undefined (reading 'fpsmax') at /home/pi/Rpanion-server/server/videostream.js:95:25 at ChildProcess.exithandler (node:child_process:414:7) at ChildProcess.emit (node:events:518:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
I've repeated this test several times and had the same result every time.
The only way I've been able to get the Video Streaming page back to normal is by deleting settings.json and restarting the rpanion server with npm run dev.
Edit: I tried reverting just this commit, and still had the same result.
c3a6d40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What board (Rpi?) are you running and with which connected cameras?
EDIT: You may need to run
npm run build
to re-build the front-end to get it working.c3a6d40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am running a Pi Zero 2W, and this is happening with just the test stream (bouncing ball video).
Edit: I got the same error again after running:
npm run build
npm run dev
c3a6d40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the report. Fixed in #200. Was an issue specific to the testvideosrc and Jetson CSI cameras.
c3a6d40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, that was fast! Appears to be fixed now. Thanks!!