neowinston
neowinston

Reputation: 7764

How to Log which AVPlayerItem is playing in AVQueuePlayer?

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?

Upvotes: 1

Views: 542

Answers (1)

Eldar Markov
Eldar Markov

Reputation: 950

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

Upvotes: 2

Related Questions