« Return to Thread: Consuming an RTMP stream from a client

Re: Consuming an RTMP stream from a client

by ptrthomas :: Rate this Message:

Reply to Author | View in Thread


On Sat, Jul 4, 2009 at 1:50 AM, Dave Feltenberger <dave.feltenberger@...> wrote:
Hi --

I've searched far and wide (i.e. Googled) to find an answer to this, but couldn't seem to find anything.  What I'm trying to do is programmatically consume a video stream via an RTMP URL.  For instance, one from LimeLight or some other streaming video provider.  Using the Flex publisher application (which is awesome, BTW) I can connect to the application/stream and play it, but I'd like to consume this programmatically from within Red5, then re-broadcast it.  We'd like to add advertising and other things directly into the video using Xuggler, ultimately, so I need to be able to have that in-between step where Red5 consumes the stream, we do what we want with the frames using Xuggler, and then rebroadcast it via Red5.

I've seen the RTMPClient object, which looks promising but doesn't really seem to do much (do I need to implement some interfaces and add listeners or something?). 

Some wiki documentation on RTMPClient can be found here, also search this mailing list for more:

http://jira.red5.org/confluence/display/docs/RTMPClient

You could also look at the flazr.com project, (Java, open source, simple code base).  In theory you could easily use this as a library within Red5 and handle incoming audio / video packets.

- Peter.
 
I also saw StreamingProxy, which sounds like it's very close to what I want to do, but I can't find any documentation or code that references the class so I'm not really sure where it plugs in or how to use it.

Any help or general direction would be greatly appreciated.

Thanks.

Dave


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 « Return to Thread: Consuming an RTMP stream from a client