More Shoutcast on the iPhone

So I finally fixed that odd crapping out after 30 seconds of streaming issue — I was corrupting the audio buffer in some odd circumstance.  It turns out that Shoutcast 1.9.9 beta (linux only atm) already has native iPhone/iPod touch support so my proxy guy is pretty much moot.  It was still fun to impl and if anyone’s interested in the source, I’ll put it up for download.  Just shoot an email via my contact form or leave a comment.  Unfortunately, I never did fix the client reconnect/disconnect issue.  As for RJ, they’re going to setup an iPhone specific stream shortly using the Shoutcast stuff (much better than each user having to run some proxy software on their computers and deal w/ port forwarding, etc.

3 Responses to “More Shoutcast on the iPhone”


  • Hi
    Was going through the Radio Javan blog and came across to your site.
    Wanted a little help with streaming audio. Been pullin my hair out over an issue I’m facing…
    I pretty much successfully streamed an mp3 on the iPhone. But am facing a problem if I try to stop the currently playing file and play a new file. AudioQueueStop throws an EXEC_BAD_ACCESS… Can you please help me out!! :(

  • Typically that means you’re trying to access an object you called ‘release’ on when you didn’t need to. I can’t help you figure out what that is without seeing your code but take a look at this site for some info on memory management practices in objective c: http://www.theococoa.com/document.page/510

  • But thats the strange part. Am just calling the AudioQueueStop method on an AudioQueueRef object. And when I do that the AudioQueueRef object is not nil.

Leave a Reply

You must login to post a comment.