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. Error: gst_rtsp_server_attach_failed

Error: gst_rtsp_server_attach_failed

Scheduled Pinned Locked Moved Ask your questions right here!
7 Posts 2 Posters 756 Views 1 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.
  • M Offline
    M Offline
    Moodsh00
    wrote on last edited by
    #1

    Trying to get rtsp stream from hi res camera of sentinel voxl2. I dont have doodle labs or 5g. Can someone please help as im getting above error. Camera server connected. The pc is connected direct to voxl wifi. In rtsp-streamer it seems to get 0 from gst rtsp server attach after creating rtsp server main loop source for callback. Cannot find any info online to get past this.

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hi @Moodsh00 ,

      Have you tried using voxl-streamer ? This would be the preferred way of using gst

      https://docs.modalai.com/voxl-streamer/

      Source code here:

      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer

      M 1 Reply Last reply
      0
      • M Offline
        M Offline
        Moodsh00
        wrote on last edited by
        #3

        Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
        using config file etc/modalai/voxl-streamer
        Camera server connected.
        ERROR: gst rtsp server attach fail

        1 Reply Last reply
        0
        • modaltbM modaltb

          Hi @Moodsh00 ,

          Have you tried using voxl-streamer ? This would be the preferred way of using gst

          https://docs.modalai.com/voxl-streamer/

          Source code here:

          https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer

          M Offline
          M Offline
          Moodsh00
          wrote on last edited by
          #4

          @modaltb

          Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
          using config file etc/modalai/voxl-streamer
          Camera server connected.
          ERROR: gst rtsp server attach fail

          1 Reply Last reply
          0
          • modaltbM Offline
            modaltbM Offline
            modaltb
            ModalAI Team
            wrote on last edited by
            #5

            If you run voxl-inspect-cam -a do you have hires showing up?

            Can check out this config file: /etc/modalai/voxl-streamer.conf

            Here's hires example config: https://docs.modalai.com/voxl-streamer/#high-resolution-hires-camera-example

            M 2 Replies Last reply
            0
            • modaltbM modaltb

              If you run voxl-inspect-cam -a do you have hires showing up?

              Can check out this config file: /etc/modalai/voxl-streamer.conf

              Here's hires example config: https://docs.modalai.com/voxl-streamer/#high-resolution-hires-camera-example

              M Offline
              M Offline
              Moodsh00
              wrote on last edited by
              #6

              @modaltb

              Yes it shows up. 480X640 with 11.90ms exposure and gt =2

              It also shows up fine in the web portal

              1 Reply Last reply
              0
              • modaltbM modaltb

                If you run voxl-inspect-cam -a do you have hires showing up?

                Can check out this config file: /etc/modalai/voxl-streamer.conf

                Here's hires example config: https://docs.modalai.com/voxl-streamer/#high-resolution-hires-camera-example

                M Offline
                M Offline
                Moodsh00
                wrote on last edited by
                #7

                @modaltb

                I figured it out this weekend. It had to do with a swap file in streamer config. I deleted the file and rtsp showed up. However now im trying to get rtsp stream quality to match the quality on voxl portal. Its really grainy. I tried the config files in streamer at 1920X1080 and increased the bitrate by a factor of 5. Will try the camera server today.

                Also; is there a way to stream to both vlc and gcs at same time. The feed cuts when i try a second viewer.

                Lastly; is there a way to keep the rtsp stream connected to gcs from bootup. It seems like when i close the shell; the rtsp stream to gcs gets lost.

                Many thanks again.

                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

                • Don't have an account? Register

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