• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-RTSPStream config.html refused to connect

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 1.0k Views 2 Watching
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.
  • S Offline
    stampeder
    last edited by Mar 28, 2020, 5:11 PM

    I’m just installing MMM-RTSPStream for the first time. I installed it as root (sudo su -). Got it all installed as per the instructions in the repository and now ready to use config.html. When I point my browser to it: html://10.10.10.59:8080/MMM-RTSPStream/config.html my browser returns:
    This site can’t be reached10.10.10.59 refused to connect.
    Try:

    Checking the connection
    Checking the proxy and the firewall
    ERR_CONNECTION_REFUSED

    The Pi that MagicMirror is running on is local to my network so this is not a firewall issue. I think something in the configuration needs to have some file changed from root to a user access ability but I don’t know enough to know which file. Your help will be greatly appreciated. Glenn.

    S 1 Reply Last reply Mar 28, 2020, 6:16 PM Reply Quote 0
    • S Offline
      sdetweil @stampeder
      last edited by sdetweil Mar 28, 2020, 6:16 PM Mar 28, 2020, 6:16 PM

      @stampeder in config.js

      address:"0.0.0.0",
      ipWhitelist:[],
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        stampeder
        last edited by Mar 28, 2020, 7:30 PM

        Sam:
        IT WORKS!! You are my new hero…
        Your gradually (learning me) how to use this… ( I live in East Texas, what can I say).
        I really appreciate the help. Now I can move forward on my security cameras.

        Thanks again.
        Glenn.

        1 Reply Last reply Reply Quote 0
        • S Offline
          stampeder
          last edited by Mar 28, 2020, 9:00 PM

          Got the config page working and the stream frame showing on MagicMirror but no streaming video. I’m using a Foscam camera which encodes the stream as ffmpeg.
          I have six of these running in Zoneminder and the TCP video stream is called with this command:
          10.10.XX.XX:8081/videostream.asf?user=USERID&pwd=USERPWD
          I get the module to outline a frame but the contents just show a grey background.
          Here is my config for the module:
          {
          module: “MMM-RTSPStream”,
          position: “top_right”,
          header: “Box Stalls”,
          config: {
          autoStart: true,
          rotateStreams: false,
          rotateStreamTimeout: 10,
          moduleWidth: 354,
          moduleHeight: 240,
          localPlayer: ‘ffmpeg’,
          remotePlayer: ‘ffmpeg’,
          showSnapWhenPaused: true,
          remoteSnaps: true,
          shutdownDelay: 12,
          stream1: {
          name: ‘Boxstall’,
          url: ‘10.10.XX.XXX:8081/videostream.asf?user=USERID&pwd=USERPWD’,
          frameRate: ‘undefined’,
          hdUrl: ‘10.10.XX.XXX:8081/videostream.asf?user=USERID&pwd=USERPWD’,
          snapshotType: ‘url’,
          width: 354,
          height: 240,
          ffmpegPort: 9999,
          },
          }
          },

          I hope someone can point out what I am doing wrong. I think I am close to having this working.
          Thanks.
          Glenn.

          S 1 Reply Last reply Apr 13, 2020, 4:17 PM Reply Quote 0
          • S Offline
            ShadowMG Project Sponsor @stampeder
            last edited by Apr 13, 2020, 4:17 PM

            @stampeder is it an rtsp-stream? Did you try to reach the stream with the full URL using “rtsp://10.10…”? Did you try with omxplayer or VNC?

            Greets, Shadow

            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 Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy