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.4k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @stampeder
        last edited by sdetweil

        @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

          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

            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 Reply Quote 0
            • S Offline
              ShadowMG Project Sponsor @stampeder
              last edited by

              @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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 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