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. Is it possible to use QMediaPlayer to send audio stream to another computer?
Qt 6.11 is out! See what's new in the release blog

Is it possible to use QMediaPlayer to send audio stream to another computer?

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 541 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #1

    Given an IP address and port number, is it possible to send audio stream to another computer?

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

      Hi,

      Not with QMediaPlayer. Can you explain a bit more what you are trying to achieve ?

      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
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #3

        Using QMediaPlayer a song can be played in a local computer. Easy and no problem.
        I would to like to send the audio stream through the network to another computer simply with QMediaPlayer which does have some network settings. But not sure how to do it.

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

          Streaming is rather the other way around. One machine emits the data and others connect to it.

          If on Linux then you can leverage GStreamer for that.

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

          JoeCFDJ 1 Reply Last reply
          0
          • SGaistS SGaist

            Streaming is rather the other way around. One machine emits the data and others connect to it.

            If on Linux then you can leverage GStreamer for that.

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by
            #5

            @SGaist True. I can do that. But, is it nicer for QMediaPlayer to have this feature?

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

              With the latest Qt versions you can run custom GSteamer pipelines.

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

              JoeCFDJ 1 Reply Last reply
              4
              • SGaistS SGaist

                With the latest Qt versions you can run custom GSteamer pipelines.

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by
                #7

                @SGaist Great! That is what I need. Thank you so much.

                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