[Red5] sending bufferimage data from Java swing to Red5 for steaming
Charles Palen
palen1c at gmail.com
Mon Dec 1 02:21:48 PST 2008
Hi Matthew.
You can translate a Java Buffered Image into a bytearray and pass that to a
flash client. You can get access to this data using a Responder object in
conjunction with the Netconnection.Call method. I wrote a post on this a
while ago. You can find some example code here:
http://osflash.org/pipermail/red5_osflash.org/2008-May/022054.html
I include external java classes in red5 applications all the time. Red5 is
just like running one huge java application.
If you already have a java application that captures the screen..then I
guess I dont fully understand why you would want to use Red5 at all? If you
want to have one server run Red5 and have a whole bunch of flash clients
capture the screen then send them to the server; thats something that Red5
could do for you.
Good luck Matthew.
On Sun, Nov 30, 2008 at 11:35 PM, Matthew Wallace
<mswallace.com at gmail.com>wrote:
> Ok,
> I am building a Java app that captures the screen. I am capturing a Java
> BufferedImage and I am wondering a couple of things
>
> 1. can I connect to my Remote Red5 server direct from Java or do I need to
> use Flash or Flex to do this
>
> 2. Either way I connect I am wondering what Red5 class could accept the
> BufferedImage and treat it as it would a Video Stream. Could I basically
> publish the BufferedImage as a published stream that Flex clients could
> connect too ?
>
> thanks,
> Matthew Wallace
> -------------------------------------
> http://flashalisious.com
> http://615flex.com
> http://twitter.com/mswallace
> -------------------------------------
> o: 615-400-4773
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
--
Charles Palen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081201/b0edad7a/attachment.html>
More information about the Red5
mailing list