{"action":"closed","issue":{"url":"https://api.github.com/repos/MoboPlayer/TestMyMoboPlayer/issues/13","labels_url":"https://api.github.com/repos/MoboPlayer/TestMyMoboPlayer/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/MoboPlayer/TestMyMoboPlayer/issues/13/comments","events_url":"https://api.github.com/repos/MoboPlayer/TestMyMoboPlayer/issues/13/events","html_url":"https://github.com/MoboPlayer/TestMyMoboPlayer/issues/13","id":52853034,"number":13,"title":"请提供缓冲的回调函数：bufferingStart、bufferingUpdate、bufferingEnd","user":{"login":"SkyOldLee","id":8748528,"avatar_url":"https://avatars.githubusercontent.com/u/8748528?v=3","gravatar_id":"","url":"https://api.github.com/users/SkyOldLee","html_url":"https://github.com/SkyOldLee","followers_url":"https://api.github.com/users/SkyOldLee/followers","following_url":"https://api.github.com/users/SkyOldLee/following{/other_user}","gists_url":"https://api.github.com/users/SkyOldLee/gists{/gist_id}","starred_url":"https://api.github.com/users/SkyOldLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkyOldLee/subscriptions","organizations_url":"https://api.github.com/users/SkyOldLee/orgs","repos_url":"https://api.github.com/users/SkyOldLee/repos","events_url":"https://api.github.com/users/SkyOldLee/events{/privacy}","received_events_url":"https://api.github.com/users/SkyOldLee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-25T08:00:11Z","updated_at":"2015-02-06T02:57:17Z","closed_at":"2015-02-06T02:57:17Z","body":"（缓冲包括：播放网络视频，网速不好而缓冲；使用seekToTime函数播放本地和网络视频需要处理一段时间的缓冲）\r\n原因：\r\n①防止使用UISlider快速拖动视频，UISlider回跳。\r\nTestMyMoboPlayer测试用例代码中，当UISlider拖动完成后，会执行progressSliderUpAction函数，接下来执行[self _setPositionForReal];，会调用seekToTime函数（视频会缓存），设置self.isProgressDragging = NO;会执行syncUIStatus函数，显示当前播放时间。也就是说，视频缓冲时，会显示视频当前时间，导致拖动UISlider回跳。\r\n如果提供缓冲回调函数，在缓存回调函数中设置self.isProgressDragging值，就可以解决UISlider拖动回跳的问题。\r\n\r\n②在缓冲时显示缓冲百分比要用到"}}