I would like to use AVPlayer Class' seekToTime. It takes a CMTime. I read the CMTime reference from Apple but its is very hard to understand. Can someone please give me an example on how to use...
- (void)seekToTime:(CMTime)time
I would like to use AVPlayer Class' seekToTime. It takes a CMTime. I read the CMTime reference from Apple but its is very hard to understand. Can someone please give me an example on how to use...
- (void)seekToTime:(CMTime)time
Some example are provided in the AV Foundation Programming Guide such as:
CMTime fiveSecondsIn = CMTimeMake(5, 1);
[player seekToTime:fiveSecondsIn];