问题
Just a very short question:
How can I find out if the MPMoviePlayerController instance is buffering data (in this case audio data from a web stream)?
Thanks for any kind of help and have a nice day!
回答1:
You need to register an object to be notified by the MPMoviePlayerLoadStateDidChangeNotification and then access the loadState
of the movie player.
See the notifications section of the MPMoviePlayerController reference.
来源:https://stackoverflow.com/questions/9550813/mpmovieplayercontroller-buffering-state