You can use KVO to observe AVPlayer.status. Note that this has been broken in Swift for >3 years, see https://bugs.swift.org/browse/SR-5872 .
So in that case my work-around was to observe .rate instead.
Topic:
Media Technologies
SubTopic:
Audio
Tags: