[osflash] play back sound from a byte array
brooks.andrus at gmail.com
Mon Dec 11 08:40:52 EST 2006
Yah, one of the C++ in our shop wants to rewrite a C++ thick client in
AS3, but a piece of the current client pulls down a live audio stream
from an Asterisk telephony server. So the issue is the data is a stream
of packets rather than a url to a file.
Writing the low level decoding isn't an issue, but finding a way to
"trick" flash into treating raw bytes as sound is an issue. He's played
around with the hack that's explored on flashcodersbrighton
<http://www.flashcodersbrighton.org/wordpress/?p=9>, but the choppiness
of playback is a show stopper.
If anyone is aware of optimizations or other techniques which would make
this work, I'd be appreciative.
John Grden wrote:
> hey Brooks, are you trying to simply load external mp3's and don't
> care about whether it's streamed or not? what is it you're trying to
> do exactly?
> On 12/8/06, Brooks Andrus <brooks.andrus at gmail.com> wrote:
>> Anyone if there's any way to play back audio from a byte array? I'm
>> basically looking for the ability to play back an audio stream from a
>> server without a Flash Media server.
>> osflash mailing list
>> osflash at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osflash