Hi,
I've read in many, many places that Flash Lite 3 support streaming video. I would like to know if Flash Lite 3 supports streaming audio. If so, then can you point me in the right direction?
Thanks,
Bruce
Hi,
I've read in many, many places that Flash Lite 3 support streaming video. I would like to know if Flash Lite 3 supports streaming audio. If so, then can you point me in the right direction?
Thanks,
Bruce
Well! I think what u r looking for is loadSound API , PLease take a look here :
loadSound in Flash Lite
where u can find that , u can load a streaming audio by setting the second parameter true (i.e IsStreaming) :
Hope it helps u..Code:var my_sound:Sound = new Sound(); my_sound.loadSound("song1.mp3", true);
Best Regards,
SajiSoft
Yeah, I used to think that was all I needed to do. However, take a look at this page in the Language Reference for Flash Lite 3:
http://livedocs.adobe.com/flashlite/...18.html#136115
It specifically states that the "isStreaming" parameter is ignored.
Any more suggestions?
- Bruce
Unlike desktop PC player, there is no progressive load capability with Flash Lite.
One option for FL3 is to stream a mp3 from Flash media server or compatible server. You might also be able to use the FL2 video object to stream audio only 3gp or aac audio from RTSP server.
Streaming audio is available with Flash Lite 3.1, check here:
www.adobe.com/go/distribute
Mark
www.flashmobileblog.com
Mark Doherty
Developer Evangelist
Adobe Systems, Mobile and Devices EMEA
Ciao,
just a note:
Does not do streaming. It loads the mp3 into memory and then it plays it back.Code:var my_sound:Sound = new Sound(); my_sound.loadSound("song1.mp3", true);
The flag "true" is ignored.
So the only reliable way to do streaming is using the FMS mp3 streaming capability.
hp3 suggestion might work too, you need to be careful on the specific device you are targeting.
Alessandro
twitter: biskero
Kero Mobile: www.biskero.mobi
Blog: www.biskero.org
Blog: www.biskero.com/blog
www.biskero.com
Agreed - unless you want to stream over RTSP and embed the audio in a 3gp format. You would simply create a video object off stage and control it on screen.
It's a hack, but why not!
Mark
Mark Doherty
Developer Evangelist
Adobe Systems, Mobile and Devices EMEA
Thanx alot biskero and Mark for integrating my knowledge .....I'll Keep that think in my mind for future...
Best regards,
SajiSoft
even the approach of wrapping in 3gp container doesnt seem to work for me on FL3.0. Can anyone post sample code, 3gp file or result.
Ramesh
Ciao,
it's an hack basically.
You need to create a video object.
Then stream the .3gp audio using the Video API.
video.play("rtsp://youserver/audio.3gp");
So only the audio part will be played back.
Alessandro
twitter: biskero
Kero Mobile: www.biskero.mobi
Blog: www.biskero.org
Blog: www.biskero.com/blog
www.biskero.com
Hi..I am doing exactly the same. Does it support AAC in 3gp for code you have put? It seems to be audio codec issue.
Regards
Ramesh