×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    7

    Streaming audio with Flash Lite 3 - is it possible?

    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

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Streaming audio with Flash Lite 3 - is it possible?

    Quote Originally Posted by bruce76 View Post
    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) :
    Code:
    var my_sound:Sound = new Sound();
    my_sound.loadSound("song1.mp3", true);
    Hope it helps u..

    Best Regards,
    SajiSoft

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    7

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

  4. #4
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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.

  5. #5
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: Streaming audio with Flash Lite 3 - is it possible?

    Ciao,

    just a note:

    Code:
    var my_sound:Sound = new Sound();
    my_sound.loadSound("song1.mp3", true);
    Does not do streaming. It loads the mp3 into memory and then it plays it back.
    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

  7. #7
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

  8. #8
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Streaming audio with Flash Lite 3 - is it possible?

    Thanx alot biskero and Mark for integrating my knowledge ... ..I'll Keep that think in my mind for future...

    Best regards,
    SajiSoft

  9. #9
    Registered User
    Join Date
    Oct 2005
    Posts
    107

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

  10. #10
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

  11. #11
    Registered User
    Join Date
    Oct 2005
    Posts
    107

    Re: Streaming audio with Flash Lite 3 - is it possible?

    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

Similar Threads

  1. Flash CS3 + Flash Lite 1.x + dynamic text + embedded fonts = broken?
    By robchis in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-02-28, 13:04
  2. Replies: 1
    Last Post: 2009-02-19, 13:53
  3. Half Duplex Audio Streaming
    By subhrajyotisaha in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-05-25, 04:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×