Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Hardcoded IP in voxl-streamer

Hardcoded IP in voxl-streamer

Scheduled Pinned Locked Moved Ask your questions right here!
8 Posts 4 Posters 1.0k Views 2 Watching
  • 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.
  • groupoG Offline
    groupoG Offline
    groupo
    Regular
    wrote on last edited by groupo
    #1

    Was trying to debug some video streaming and noticed voxl-streamer providing the same output "stream available at rtsp://127.0.0.1" no matter what I set default_uri to, or with auto_ip true or false. I went to look at where that logic was in voxl-streamer and noticed it is hardcoded Is there an easy way to change that and get a more accurate information? Or does ModalAI have to change, recompile, then push in a new SDK?

    Alex KushleyevA 1 Reply Last reply
    0
    • groupoG groupo

      Was trying to debug some video streaming and noticed voxl-streamer providing the same output "stream available at rtsp://127.0.0.1" no matter what I set default_uri to, or with auto_ip true or false. I went to look at where that logic was in voxl-streamer and noticed it is hardcoded Is there an easy way to change that and get a more accurate information? Or does ModalAI have to change, recompile, then push in a new SDK?

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @groupo , you are correct, the printout is hardcoded, but the application will respond to the actual board ip, which you can get using ifconfig command.

      I'll see if i can fix it so that voxl-streamer reports the actual ip instead of the 127.0.0.1 which is the address for the local (loopback) interface on the board (a virtual network for local networking within the board)

      Alex

      groupoG 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @groupo , you are correct, the printout is hardcoded, but the application will respond to the actual board ip, which you can get using ifconfig command.

        I'll see if i can fix it so that voxl-streamer reports the actual ip instead of the 127.0.0.1 which is the address for the local (loopback) interface on the board (a virtual network for local networking within the board)

        Alex

        groupoG Offline
        groupoG Offline
        groupo
        Regular
        wrote on last edited by
        #3

        @Alex-Kushleyev The actual board may have many IPs, such as if wifi and modem are connected. It's my understanding it will use voxl-my-ip if auto_ip is True in mavcam-manager.conf, but if set to false it will select whatever default_uri is. I was trying to find a way to confirm that is in fact the the case. I did determine the issue was in VLC and solved it in another user's recent post.

        In that post I did ask how mavcam-manger and streamer are coupled. From the block diagram on the docs, they appeared to be decoupled but its clear streamer relies on things set in mavcam-manager

        tomT 1 Reply Last reply
        0
        • groupoG groupo

          @Alex-Kushleyev The actual board may have many IPs, such as if wifi and modem are connected. It's my understanding it will use voxl-my-ip if auto_ip is True in mavcam-manager.conf, but if set to false it will select whatever default_uri is. I was trying to find a way to confirm that is in fact the the case. I did determine the issue was in VLC and solved it in another user's recent post.

          In that post I did ask how mavcam-manger and streamer are coupled. From the block diagram on the docs, they appeared to be decoupled but its clear streamer relies on things set in mavcam-manager

          tomT Offline
          tomT Offline
          tom
          admin
          wrote on last edited by
          #4

          @groupo Yes you're correct

          groupoG 1 Reply Last reply
          0
          • tomT tom

            @groupo Yes you're correct

            groupoG Offline
            groupoG Offline
            groupo
            Regular
            wrote on last edited by
            #5

            @tom @Alex-Kushleyev thank you both. Hopefully there is a way to illustrate how mavcam manager, streamer, and camera server are all related. Maybe I am relying on the block diagram too heavily but it has been very confusing for me.

            groupoG 1 Reply Last reply
            0
            • groupoG groupo

              @tom @Alex-Kushleyev thank you both. Hopefully there is a way to illustrate how mavcam manager, streamer, and camera server are all related. Maybe I am relying on the block diagram too heavily but it has been very confusing for me.

              groupoG Offline
              groupoG Offline
              groupo
              Regular
              wrote on last edited by
              #6

              @Alex-Kushleyev or @tom

              What steps would I need to take if I wanted to make those changes instead of waiting for an SDK update? I don’t necessarily need the behavior now that I have confirmed everything is working. But there are a few things for my very specific use case that could eliminate some hoops I have to jump through on my system. As Tom and I have discussed before, we’ve had to muddle our way through a few issues that weren’t part of your majority of use cases.

              I assume this would involve building basically my own SDK (yours with very minor edits) then flashing it to the drone? Is that even possible?

              groupoG 1 Reply Last reply
              0
              • groupoG groupo

                @Alex-Kushleyev or @tom

                What steps would I need to take if I wanted to make those changes instead of waiting for an SDK update? I don’t necessarily need the behavior now that I have confirmed everything is working. But there are a few things for my very specific use case that could eliminate some hoops I have to jump through on my system. As Tom and I have discussed before, we’ve had to muddle our way through a few issues that weren’t part of your majority of use cases.

                I assume this would involve building basically my own SDK (yours with very minor edits) then flashing it to the drone? Is that even possible?

                groupoG Offline
                groupoG Offline
                groupo
                Regular
                wrote on last edited by
                #7

                @tom @Alex-Kushleyev ??

                1 Reply Last reply
                0
                • Zachary Lowell 0Z Offline
                  Zachary Lowell 0Z Offline
                  Zachary Lowell 0
                  ModalAI Team
                  wrote on last edited by
                  #8

                  @groupo yes all the code is open sourced for this exact purpose - if you wish to make updates, you can fork your own instance of the repository - make your edits, compile, flash the deb onto your voxl2 and then provided everythign works as expected you can make an MR on gitlab from your fork to the dev branch and one of us will review and test prior to adding into the next release.

                  1 Reply Last reply
                  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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  ModalAI
                  Categories Recent Tags ModalAI.com Docs
                  © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups