MPMoviePlayerController buffering state

冷暖自知 提交于 2019-12-13 03:54:20

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!