A streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
Objective-C
Pull request Compare This branch is 36 commits ahead of sprhawk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Classes
English.lproj
Mac Resources/English.lproj
MacStreamingPlayer.xcodeproj
Shared Resources
iPhone Resources
iPhoneStreamingPlayer.xcodeproj
.gitattributes
.gitignore
MacInfo.plist
MacStreamingPlayer_Prefix.pch
README.md
README.orig
iPhoneInfo.plist
iPhoneStreamingPlayer_Prefix.pch
main.m

README.md

ABOUT THIS PROJECT

This is a fork of sprhawk's fork of AudioStreamer (originally written by Matt Gallagher). It's purpose is mostly to add minor improvements, but also remove things I don't find important (shoutcast support and level metering, for instance, have been removed).

CHANGES

  • Added

    • Delegation (see the AudioStreamerDelegate protocol)
    • Ability specify the stream duration (see: initWithURL:withDurationInSeconds:)
  • Removed

    • Shoutcast support
    • Level metering code
  • Improvements

    • Originally, after seeking, the audio from the old position would still play then suddenly cut to the new position, which was a bit jarring. Now, the audio cuts out immediately and begins playing once data has been buffered at the new position.

    • sending start now starts prebuffering without starting audio playback (send play to start audio playback)

TODO

  • better handling of data connection loss
  • caching support