Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Publish an RTMP stream to FMS using Microrosft Visual C

Publish an RTMP stream to FMS using Microrosft Visual C

Scheduled Pinned Locked Moved C / C++ / MFC
adobesysadmintutorialquestion
8 Posts 5 Posters 0 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
    mseureka
    wrote on last edited by
    #1

    Hi all, I am getting a continuous video and audio packet from some source (Flv video codec) (Mp3 audio codec) and we have to send it to flash media server(or red5) through RTMP protocol. Basically, I want to publish live stream through RTMP protocol to flash media server(or red5), so that there is live playback on a Flash player. I am looking for a Visual C code snippet to do this. Any suggestions on where to start and how to get this accomplished? Many Thanks!

    F 1 Reply Last reply
    0
    • M mseureka

      Hi all, I am getting a continuous video and audio packet from some source (Flv video codec) (Mp3 audio codec) and we have to send it to flash media server(or red5) through RTMP protocol. Basically, I want to publish live stream through RTMP protocol to flash media server(or red5), so that there is live playback on a Flash player. I am looking for a Visual C code snippet to do this. Any suggestions on where to start and how to get this accomplished? Many Thanks!

      F Offline
      F Offline
      farnhamj
      wrote on last edited by
      #2

      RTMP is a propritary protocol, and Red5 is written in Java, so good luck on that one. If you want to scour Red5's code for RTMP stuff and translate it to Visual C, I'm sure you could figure it out, but you might as well use other tools like ManyCam (free) and Virtual Audio Cable (like $15, I think) and patch stuff through to Adobe's Flash Media Live Encoder (which is free).

      S 1 Reply Last reply
      0
      • F farnhamj

        RTMP is a propritary protocol, and Red5 is written in Java, so good luck on that one. If you want to scour Red5's code for RTMP stuff and translate it to Visual C, I'm sure you could figure it out, but you might as well use other tools like ManyCam (free) and Virtual Audio Cable (like $15, I think) and patch stuff through to Adobe's Flash Media Live Encoder (which is free).

        S Offline
        S Offline
        Sumit_Ghosh
        wrote on last edited by
        #3

        Hi, Thanks for your answer, I have got a better solution, Iam using RTMPD code for my application , its in vc++ and fits to my requirements.

        J 1 Reply Last reply
        0
        • S Sumit_Ghosh

          Hi, Thanks for your answer, I have got a better solution, Iam using RTMPD code for my application , its in vc++ and fits to my requirements.

          J Offline
          J Offline
          Jon68z
          wrote on last edited by
          #4

          Hi, Would you mind sharing your find? Which RTMPD did you find, use? Thanks in advance...

          G 1 Reply Last reply
          0
          • J Jon68z

            Hi, Would you mind sharing your find? Which RTMPD did you find, use? Thanks in advance...

            G Offline
            G Offline
            Gavriloaie Andrei
            wrote on last edited by
            #5

            The home of the project is: http://www.rtmpd.com There is an application written especially for that inside that server :)

            RFC1925 With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead.

            J 1 Reply Last reply
            0
            • G Gavriloaie Andrei

              The home of the project is: http://www.rtmpd.com There is an application written especially for that inside that server :)

              RFC1925 With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead.

              J Offline
              J Offline
              Jon68z
              wrote on last edited by
              #6

              Hi, Thanks for the response. Did you take that implementation and convert it over for a client application by any chance? If so, would you care to share your implementation?

              G 1 Reply Last reply
              0
              • J Jon68z

                Hi, Thanks for the response. Did you take that implementation and convert it over for a client application by any chance? If so, would you care to share your implementation?

                G Offline
                G Offline
                Gavriloaie Andrei
                wrote on last edited by
                #7

                Lol, that whole thing is mine :) Basically is doing the following: flash publisher --> rtmpd --> streaming_server(rtmpd, FMS, etc) --> flash layer 1,2,...,N Now, flash publisher talks with rtmpd via RTMP protocol (the first arrow). flash publisher is the "provider". But this can be changed. It can totally replaced with a custom internal stream. The over all structure would become: rtmpd(doing screen capture INTERNALLY for example) --> streaming_server(rtmpd, FMS, etc) --> flash layer 1,2,...,N You need to dig into the code a little bit though... The server is running on: Windows BSD (Mac OS X, FreeBSD, NetBSD, OpenBSD, etc) Linux (many distros here...) Someone reported that ported it to SunOS. Not sure about that.... As a server, I recommend to run it on FreeBSD for best performance. Have fun :)

                RFC1925 With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead.

                J 1 Reply Last reply
                0
                • G Gavriloaie Andrei

                  Lol, that whole thing is mine :) Basically is doing the following: flash publisher --> rtmpd --> streaming_server(rtmpd, FMS, etc) --> flash layer 1,2,...,N Now, flash publisher talks with rtmpd via RTMP protocol (the first arrow). flash publisher is the "provider". But this can be changed. It can totally replaced with a custom internal stream. The over all structure would become: rtmpd(doing screen capture INTERNALLY for example) --> streaming_server(rtmpd, FMS, etc) --> flash layer 1,2,...,N You need to dig into the code a little bit though... The server is running on: Windows BSD (Mac OS X, FreeBSD, NetBSD, OpenBSD, etc) Linux (many distros here...) Someone reported that ported it to SunOS. Not sure about that.... As a server, I recommend to run it on FreeBSD for best performance. Have fun :)

                  RFC1925 With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead.

                  J Offline
                  J Offline
                  Jon68z
                  wrote on last edited by
                  #8

                  Hi, Hmmm... I will have to check it out. I have not looked at the code repository yet. Although I am some what familiar with the project (at least I know where I can find it ;P ). I want to use this with an open source server that is compatible with FMIS, such as red5, crtmp, etc. etc. Anyway thanks for the heads up.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

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