AVPlayer addPeriodicTimeObserver 不打印所有值

AVPlayer addPeriodicTimeObserver does not print all values

我正在尝试在我的 AVPlayer 时间观察器中使用 1/50 秒的间隔。但这并没有打印出所有的值。

let interval = CMTimeMake(1, 50)    
AVPlayerVC.player?.addPeriodicTimeObserver(forInterval: interval, queue: DispatchQueue.main, using: {(progressTime) in

  let seconds = CMTimeGetSeconds(progressTime)
  let doubleSeconds = String(format: "%.2f", seconds)
  print ("\(doubleSeconds) -")

这是结果: 0.00 - 0.05 - 0.09 - 0.13 - 0.21 - 0.30 - 0.40 - 0.45 - 0.54 - 0.59 - 0.70 - 0.75 - 0.85 - 0.96 - 1.07

我怎么能有每0.02秒呢? (0.00 - 0.02 - 0.04 - 0.06 ...)

documentation 所述,不能保证您的回调会像您请求的那样频繁地被调用:

If the interval corresponds to a very short interval in real time, the player may invoke the block less frequently than requested. Even so, the player will invoke the block sufficiently often for the client to update indications of the current time appropriately in its end-user interface.

您希望如此频繁地收到通知,您想要完成什么?