• 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.

Adding HTTP stream

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 1.3k 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.
  • W Offline
    whitedragon1011
    last edited by Sep 21, 2019, 4:14 PM

    Hi guys. How do I go about adding an HTTP stream to the magic mirror. I found the MMM-RTSPStream module but I only managed to get my camera to stream using HTTP not RTSP. Any steps you can provide that will allow me to display my HTTP stream?

    B 1 Reply Last reply Sep 21, 2019, 4:16 PM Reply Quote 0
    • B Offline
      broberg Project Sponsor @whitedragon1011
      last edited by broberg Sep 21, 2019, 4:17 PM Sep 21, 2019, 4:16 PM

      @whitedragon1011 use one of the iframe modules that updates it content every other time.

      or if you by http mean a mjpeg image output you could probably use any image module that you can set to update itself every 2-5 sec.

      1 Reply Last reply Reply Quote 0
      • W Offline
        whitedragon1011
        last edited by whitedragon1011 Sep 21, 2019, 4:33 PM Sep 21, 2019, 4:31 PM

        Thanks! I used https://github.com/AgP42/MMM-SmartWebDisplay and MagiMirror now gives me an error saying to create a Config file. Something must be wrong but i am not sure what. I copied and pasted the code as displayed in GitHub and replaced both URLS with a single URL of my stream…

        And ideas?

        EDIT: one too many “}”

        1 Reply Last reply Reply Quote 0
        • W Offline
          whitedragon1011
          last edited by Sep 21, 2019, 4:45 PM

          I got the stream running! BUT the stream is just a thin strip of video. I can see it updates but it is barely visible. I understand that I can adjust height and width, but when I do that it barely works. Percentages do no changes at all. When I put values in pixels it does adjust but the stream does not stay in the bottom right spot and the video is still cropped.

          Any way to scale it up properly?

          1 Reply Last reply Reply Quote 0
          • G Offline
            geoffibs
            last edited by Sep 22, 2019, 7:00 PM

            I use Smartwebdisplay and the height and width settings are for the frame, not the content within.

            Not sure if you can do the same but to get mine to display correctly, I set my DVR to quad camera view. I then moved the camera I wanted into position 1 and resized the frame to the height and width of that first camera, even though it is still receiving the stream for all 4. It still has to be slightly larger than I wanted but does the trick as the Iframe is sizing from the top left.

            I don’t know of an Iframe viewer for MM that allows you to resize the contents but if anyone comes across one let me know please!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              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