Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Air/Flex: Stuttering mp3 audio stream

    Hi all,

    I am new to Flex and just started developing a small app including audio streaming. So I am using the following code:

    Code:
    var s:Sound = new Sound();
    var req:URLRequest = new URLRequest("http://62.75.132.19:80;Stream.mp3");
    var context:SoundLoaderContext = new SoundLoaderContext(1600, false);
    s.load(req, context);
    s.play();
    I had some test streams and everything worked fine. Now I wanted to listen to my favourite stream (the one you see in my code: http://62.75.132.19:80) and it starts with massively stuttering. So I played arround with the bufferlimits but nothing helps.

    What makes me crazy, is that I can listen perfectly to the stream by using WMP, VLC and the flash-based player on the radiostations' website. I also downloaded another flash based player... and this works perfectly too.

    So, in the end.... it must have something to do with Flex/Air and my code (the code of a flex beginner ).

    Can anybody help?? How can I get this working?

    Thanx in advance for every help.

    Cheers,
    r.

  • #2
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    Interesting for me also


  • #3
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    look up buffering.


  •  

    Posting Permissions

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