Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. get external camera data with ethernet(LAN) and save it in buffers
Forum Updated to NodeBB v4.3 + New Features

get external camera data with ethernet(LAN) and save it in buffers

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 593 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.
  • R Offline
    R Offline
    RezaAhmadzadeh
    wrote on last edited by
    #1

    I want to get data from external camera connected with ethernet and have a Ip address .can I receive it with TCP socket in my tcp server? if not can someone suggest me the easiest way for it

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Use a QTcpSocket and connect to your external device

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      R 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        Use a QTcpSocket and connect to your external device

        R Offline
        R Offline
        RezaAhmadzadeh
        wrote on last edited by
        #3

        @Christian-Ehrlicher I do it but when I connect camera, server doesn't go in the new connection function

        JonBJ 1 Reply Last reply
        0
        • R RezaAhmadzadeh

          @Christian-Ehrlicher I do it but when I connect camera, server doesn't go in the new connection function

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @RezaAhmadzadeh
          What does this mean? How can people help from this description? You need to explain what you mean or show some minimal code.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            In addition to my fellows, which model is that camera ?
            Which protocol does it use ?
            etc.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            R 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              In addition to my fellows, which model is that camera ?
              Which protocol does it use ?
              etc.

              R Offline
              R Offline
              RezaAhmadzadeh
              wrote on last edited by
              #6

              @SGaist the model of camera is Milesight. after I enter Ip address in browser it ask me user and password .then start showing, at this time I open Wireshark and see that it send bytes in tcp protocol but my tcp server in QT doesn't receive these bytes,my tcp server code is ok I am sure

              1 Reply Last reply
              0
              • C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #7

                Your description sounds like the camera is the TCP server, operating with HTTP at least to start. You should be writing TCP client code in your program. QNetworkAccessManager should be able to help with an HTTP GET request. How the transition to a video stream occurs is a different problem.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Check with the constructor documentation. It likely has a dedicated video stream, likely using the RTSP protocol.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved