views:

48

answers:

1

As a part of my app I'm building, I'm trying to add a radio feed, and the radio station in question only supplies an asx/asf stream and has no plans to support anything else, so I have no access to change any of the source stream.

Obviously, reading an ASF stream using the default libraries does not work, as the iPhone does not support asf streams naively. However, there are a couple of apps out there that do this, for example FStream: http://www.sourcemac.com/?page=fstream

So, does anyone have any idea how this is done?

The other option is getting a server and re-streaming the feed as mp3. We have a dedicated windows server, and this option has been working for us using VLC, except VLC has issues on windows and stops itself after a few days.

So my question is twofold:

  1. Does anyone know of any code out there that allows me to play an ASF stream in my iPhone app?

  2. Does anyone have any better suggestions for a windows application to restream the ASF to mp3 that won't just up and die after a period of time?