Search for time in AVQueuePlayer

Can someone help me search at a specific time in AVQueuePlayer?

I use this controller to play videos on the iPhone because I need to play two videos at the same time. But my problem is navigating the video and moving at a specific time, I can’t do this.

I know the That method. [controller seekToTime:(CMTime)]But it does not move the video to the exact position of the video.

Does anyone know a solution?

+3
source share
2 answers

This is indicated in the documentation for seekToTime::

The time that may be required may differ from the indicated time for effectiveness. For an exact sample search, see seekToTime:toleranceBefore:toleranceAfter:.

, seekToTime:toleranceBefore:toleranceAfter:, . true AVURLAssetPreferPreciseDurationAndTimingKey AVURLAssets, .

+2

... - - , .., .

AVQueuePlayer , borderTime assetItem. , seekToTime , , . asset AVQueuePlayer

+1

All Articles