Menu
  • HOME
  • TAGS

AVPlayer seekToTime download an insane amount of media segment files consuming a lot of data

ios,avplayer,hls,avplayeritem,seektotime

I've been told by Apple that this is not a bug, but a feature. They've made the buffer bigger since iOS 8.

I want to make a sound play starting from the 15th second [closed]

ios,swift,avfoundation,avplayer,seektotime

As I can understand you are trying to start your audio not from the beginning. In this case: You need to use seekToTime import UIKit import AVFoundation class ViewController: UIViewController { var myPlayer:AVPlayer? = nil override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically...