0 Replies Latest reply on Jul 11, 2009 9:11 AM by flexschreiber

    Flex/Air: mp3 streaming via port 80??


      Hi all,


      I am experiencing a strange problem with playing mp3-streams in an AIR/Flex-application. I am using the following code to play a webradio stream:


                      var s:Sound = new Sound();
                      var req:URLRequest = new URLRequest(";Stream.mp3");
                      var context:SoundLoaderContext = new SoundLoaderContext(1000, false);
                      s.load(req, context);

      When I run this code, the stream starts playing but also does incredibly stutter. If I use Windows Media Player, VLC or even the flash based player from the radio stations' website everything plays fine. But whatever I do, there is massive stutter in my AIR-Application only.


      When playing arround with other streams, I noticed that streams using port 8080 or 8000 are playing witout any problems. No stutter at all.


      So, in short:


      - streams in AIR stutter when coming via port 80

      - other applications (WMP, VLC and even online flash player) are playing without stutter.


      Why Air won't???


      Thanx in advance for any help!