How to improve search performance when using avplayer
I am using AVPlayer
to create a video player, but the method seekToTime
is quite slow. I'm impressed with the performance search for Apple's Photos app. Does anyone know how Apple managed to do such a quick search?
Is it related to streams? I tried to put the call seekToTime
in the dispatch queue, that doesn't help either.
+3
source to share