SRGSSR / srgmediaplayer-apple

An advanced media player library, simple and reliable
MIT License
158 stars 33 forks source link

Seek bar use is not smooth for some medias #35

Closed defagos closed 5 years ago

defagos commented 6 years ago

When playing Big Buck Bunny with SRG MediaPlayer, using the slider during playback is cumbersome. This is not the case with the iOS built-in AVPlayerViewController.

The problem disappears after the media has been entirely buffered.

This is due to seeking happening while tracking (if seekingDuringTracking is set to NO, this issue disappears). We could probably implement a smarter way of triggering seeking while tracking.

defagos commented 5 years ago

Apple greatly improved the situation with iOS 12, also on slower devices (tested with an iPhone 5S). Seeking is now smoother than ever.