1

I'm using the AVQueuePlayer to play many audio files in sequence.

I need to log every AVPlayerItem that is playing.

How to do that?

neowinston
  • 7,584
  • 10
  • 52
  • 83

1 Answers1

2

AVQueuePlayer has currentItem property. just log it every time item changed.

Eldar Markov
  • 950
  • 9
  • 13
  • Thanks for pointing that out! Actually the currentItem property is from the AVPlayer, so AVQueuePlayer inherits from it. – neowinston Mar 09 '12 at 19:28