开发者

How to obtain the "seek to" time in MPMoviePlayerController?

开发者 https://www.devze.com 2023-04-06 10:03 出处:网络
I am using an MPMoviePlayerController instance to play live-streaming videos. When the user seeks forward or backward, I want to obtain the time 开发者_StackOverflow中文版to which the play-head should

I am using an MPMoviePlayerController instance to play live-streaming videos. When the user seeks forward or backward, I want to obtain the time 开发者_StackOverflow中文版to which the play-head should seek to.

MPMoviePlayerPlaybackStateDidChangeNotification notifies me of a seek event just fine, and currentPlaybackTime returns the current time i.e. before seeking. How do I obtain the "seek-to" time without waiting for the next MPMoviePlaybackStatePlaying notification?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号