MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMM-RTSPStream issue

    Troubleshooting
    4
    4
    913
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Trissy last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • B
        buchair last edited by

        I do have exactly the same error message. Did anyone find a solution to the problem?

        1 Reply Last reply Reply Quote 0
        • A
          acazabuu last edited by acazabuu

          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!

          1 Reply Last reply Reply Quote 0
          • BKeyport
            BKeyport Module Developer last edited by

            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.

            The "E" in "Javascript" stands for "Easy"

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy