When playing protected video, I'm using a license that expires after a certain duration.
It works well, playback stops once the license expires.
I don't know how to be notified about this error. The AVPlayer.error isn't set. Delegate routines in AVContentKeySession aren't called.
I'm assuming that there must be some kind of message that gets sent when playback ends due to licensing, but I haven't figured it out yet.