I know how to stream an audio file to iphone. But does anyone know how to include functions like pause, or having a slider bar to fast forward to downloaded portions of the audio?
Help much appre开发者_StackOverflow中文版ciated!
I've used the AudioSteamer
classes in this project by Matt Gallagher with a lot of success. It was simple enough to implement my own progress slider using a NSTimer
to poll the current duration, and the classes implement a seekToTime:
function to allow moving the slider to change the position in the stream.
精彩评论