Read the statement by Michael Teeuw here.
MMM-RTSPStream issue
-
I have an issue with my MM.
Firstly, please forgive my ignorance, I’m quite new to this.
I have it installed on a Pi4 with 1Gb memory.
The modules I have are the default weather, calendar, news feed. Also I have MMM-Snow, MMM-Ring, MMM-Dad-Jokes and MMM-RTSPStream, and I think it’s the latter that causes a problem.
I have it set up with two ip camera feeds which swap every 10 seconds, and that usually works ok.
But every few hours, the screen goes blank, apart from one of the camera feeds, which then doesn’t change to the second.
I’ve noticed that on start up (from npm start) I get the following error message -
Whoops! There was an uncaught exception... TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32) at pm2.list (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17) at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:606:19 at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10 at Parser.<anonymous> (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8) at Parser.emit (events.js:182:13) at Parser._write (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/amp/lib/stream.js:91:16) at doWrite (_stream_writable.js:410:12) at writeOrBuffer (_stream_writable.js:394:5) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Could anyone help with suggestions? The next thing I was going to try was to disable the module to see if the blank screen error still occurs but I thought I would ask here first.
Thank you.
-
I do have exactly the same error message. Did anyone find a solution to the problem?
-
Hello,
I have the same problem. In order to exclude external causes, I reinstalled the PI from scratch (latest iso as of today), MagicMirror with default configuration, and only installed this MMM-RTSPStream module. I get the error message as soon as I start MM (npm start):
[14:20:24.800] [LOG] Whoops! There was an uncaught exception... [14:20:24.800] [ERROR] TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32) at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17 at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:606:19 at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10 at Parser.<anonymous> (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8) at Parser.emit (events.js:200:13) at Parser._write (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/amp/lib/stream.js:91:16) at doWrite (_stream_writable.js:417:12) at writeOrBuffer (_stream_writable.js:401:5)
The installation log didn’t report error, mainly some warnings “SKIPPING OPTIONAL DEPENDENCY”.
My config.js contains the following default section:
{ module: 'MMM-RTSPStream', position: 'middle_center', config: { initialSetup: true, } },
Thanks in advance for your help!
-
I do believe that RTSPStream is more or less a dead product. I’ve gone to manually running OMXPlayer from pm2 outside the mirror, and just leaving it’s space open on the mirror itself.