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!