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 dosent work in my case

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 4 Posters 9.4k Views 3 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.
    • A Offline
      alverman
      last edited by

      @alverman said in MMM-RTSPStream dosent work in my case:

      So I think I’ve solved the problem of why the console flow is interrupted!
      from console I have to give this command:
      omxplayer -n -1 --timeout 0 --avdict rtsp_transport: tcp “rtsp://10.0.0.60:554/h264/?ch=1&subtype=1& authbasic = admin:123456”

      So now how can I add the switches:
      -n -1 --timeout 0 --avdict rtsp_transport: tcp

      in config.js?
      Any help please?
      Thank you, Alberto

      1 Reply Last reply Reply Quote 0
      • A Offline
        alverman
        last edited by

        Sorry if I keep on this monologue but I’m going crazy !!
        I’ve tried MagicMirror with only the standard modules and the MMM-RSPSream module.
        Created the code to enter in config.js
        Enter the code in config.js
        Starting npm start I see the frame of rtsp stream but I do not see anything.
        If I hit the frame I see the play icon if I get it I see the pause icon as if the stream was played but I see nothing.

        I’m really tired of this thing.
        I know it might go but it does not go and I just miss this form to close the project.

        Really give me a hand please

        Thank you, Alberto

        1 Reply Last reply Reply Quote 0
        • B Offline
          barnosch
          last edited by

          Here is my working config.

           {
                          module: 'MMM-RTSPStream',
                          position: 'bottom_left',
                          config: {
                                  autoStart: true,
                                  rotateStreams: false,
                                  rotateStreamTimeout: 10,
                                  showSnapWhenPaused: false,
                                  moduleWidth: 352,
                                  moduleHeight: 240,
                                  moduleOffset: -20,
                                  localPlayer: 'omxplayer',  //omxplayer oder ffmpeg
                          stream1: {
                                  name: 'Door',
                                  url: 'rtsp://10.30.10.28', //update with your IP
                                  snapshotUrl: '',
                                  snapshotRefresh: 10, // Seconds
                                  frameRate: "30",
                                  port: 9999,
                                   }
                                  }
                          },
          
          

          i would suggest, you only change the IP adress, without port or the authbasic stuff…
          I also have password set, but for some reason, i do not need to pass it to the module.
          I played around a little bit, but as soon as i change the port or something… it does not work anymore.
          Maybe worth a try.
          Otherwise, bring the developer in here… he is very helpful and has for sure another tips you can try.

          1 Reply Last reply Reply Quote 0
          • A Offline
            alverman
            last edited by

            Thanks barnosch,
            I think I’ve solved the problem: D
            I think because I’m working remotely and I can not see if the stream is shown or not but I trust.
            I practically lost a pass that eliminated the sound.
            So I think that everything is resolved.
            I see the stable connection from the remote console and then almost for sure that the module now works.
            I find it in issue.
            The command it solves is:
            git fetch - all
            git checkout nosound

            I’ll let you know as soon as I see it with my eyes
            :)

            1 Reply Last reply Reply Quote 0
            • A Offline
              alverman
              last edited by

              Solved !!

              1 Reply Last reply Reply Quote 0
              • S Offline
                shbatm Module Developer
                last edited by

                @alverman – I’m the creator of the module and I wanted to apologize, I’ve been working on other projects and not following this forum very closely the past few months. I’m glad you got everything solved, I’m sorry I wasn’t able to assist.

                In the future, if you have any issues with one of the modules I created, please tag me (@shbatm) or open an issue on the module’s Issue page at github.com so I get a notification and will be happy to assist.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sepulvar
                  last edited by

                  Can you share your final configuration?

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