CoreMediaErrorDomain : code : -16012

Hi ,

We are getting big spikes of errors on very few programs in some live channels.

[-16012:CoreMediaErrorDomain] [Error Domain=CoreMediaErrorDomain Code=-16012 "(null)"]

When this error occurred , AVPlayer stops & users has to restart the playback.

This is the error we are getting & this happens in some live programs. We have the same set up & uses same transcoders etc in all programs. Mostly we have very low error rate in player with live programs , but with this error , error rate can increase up to 80% of the users effecting pretty much all the users on apple devices.

Does anyone know what this error actually means ? What is the context & what is the reason behind that ?

It seems like this may be related subtitles & this occurs only when the subtitles are enabled. ( The subtitles are not embedded in the stream it is teletext )

Try to find in apple documents & online & nothing could be find unfortunately.

Replies

Hi @zkyki,

We recently got the same problem. In our case, this revealed an issue with the subtitles themselves. One of the VTT segments namely contained an entry with zero length (identical start and end times), leading to playback failing. Fixing this issue made the content play fine again.