Publish an RTMP stream to FMS using Microrosft Visual C
-
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!
-
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!
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).
-
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).
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.
-
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.
-
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.
-
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.
-
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?
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.
-
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.
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.