[Red5] Taking photos with Red5 (use ByteArray)

Claudius Ceteras claudius at gmx.de
Tue Apr 24 17:54:30 EDT 2007


Hi,

> Looks like in ActionScript 3 there is a new ByteArray class 
> that makes it
> much easier to do this sort of thing.  I guess now I'll have 
> to download
> the Flex 2 SDK and start learning how to play with that.  :)

>From a quick i would say the real magic is done by the JPGEncoder
class(included here: http://code.google.com/p/as3corelib/) which relies on
ByteArray, but just for the output, not for encoding to JPG, so i guess -
from a first look - that this could be portable to AS2.

I'll probably have time next week to take a closer look. If this doesn't
work out, i guess i will do something stream-based.

With kind regards

Claudius




More information about the Red5 mailing list