Fairplay media playback failing with non-descript error code 12927

I'm getting an issue where my fairplay video playback fails by raising AVPlayerItemFailedToPlayToEndTime with

Error Domain=CoreMediaErrorDomain Code=-12927 "(null)"

I can't find a single hit on google for this error code.

I suspect that it has something to do with some kind of bad content in the FPS license response from the server. I can play unencrypted files OK. Its just the FPS content that fails. But my DRM resource loader delegate "acts" like it takes the license fine. I've played other vendor's FPS content using the same code and it works there.

All I need is a hint as to what 12927 means. Is there some way to look this up?

Error -12927 is an internal error code that can mean several different things, but probably indicates something incorrect in your playlist. If I had to guess, I'd suggest that the value of your EXT-X-KEY attributes might be malformed.

The first step is always to check your playlist using mediastreamvalidator/hlsreport in Terminal. If that doesn't help, create a bug report using Feedback Assistant, and post the bug number here.

Fairplay media playback failing with non-descript error code 12927
 
 
Q