Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Need Help for Video Streaming using UDP Sockets

Need Help for Video Streaming using UDP Sockets

Scheduled Pinned Locked Moved Unsolved Brainstorm
9 Posts 6 Posters 4.8k Views
  • 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.
  • K Offline
    K Offline
    KoLiBer
    wrote on last edited by
    #1

    Hi guys
    i want to create p2p call application
    i want to record audio and capture the video from mic and camera and streamly send it to target using udp sockets and then other side receive it and play it using qmediaplayer but i can't find any doc or tutorial that explains qmediaplayer and qmediarecorder
    can you help me ?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Maybe have a look at Telepathy before you reinvent the whole wheel.

      1 Reply Last reply
      1
      • K Offline
        K Offline
        KoLiBer
        wrote on last edited by
        #3

        Thelepathy uses xmpp protocol
        but my server protocol was designed by base sockets
        so i need a media streamer library based on absolute sockets

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          Unencrypted video and audio stream over the network. I hope you are talking about a private LAN otherwise the internet is not a place to do this stuff.

          I never did it myself but http://doc.qt.io/qt-5/qmediaplayer.html#setMedia with the socket as device should do it.

          I still recommend using a more mature and safe protocol like xmpp or a more secure protocol

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          1
          • K Offline
            K Offline
            KoLiBer
            wrote on last edited by
            #5

            thanks for link
            my protocol is secure using RC4

            1 Reply Last reply
            0
            • L Offline
              L Offline
              LuGRU
              wrote on last edited by
              #6

              You can achieve this by using libVLC or FFmpeg.
              This will give You absolute control over the data so You can even encrypt it on the fly (every CPU can handle this) and send using Your own UDP implementation.

              Sooner ot later You will run into problems with multimedia in Qt. I personally think that it's easier to use above libs then sub-classing / writing missing pices of code to multimedia framework. Also with above You don't need to worry about codecs.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                KoLiBer
                wrote on last edited by
                #7

                thanks
                that was so helpful :)

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Pooja Bhusare
                  wrote on last edited by
                  #8

                  @KoLiBer have u get solution for this use case?

                  JonBJ 1 Reply Last reply
                  0
                  • P Pooja Bhusare

                    @KoLiBer have u get solution for this use case?

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

                    @Pooja-Bhusare
                    Well @LuGRU said:

                    You can achieve this by using libVLC or FFmpeg.

                    and @KoLiBer said that was so helpful.

                    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