I am developing a video playback application , which can play ads along with the content.
I am successfully able to start the playback with ad on device (ipad/iphone) but it never playsback in airplay mode. I gets the the below error notification:
"AVPlayerItemFailedToPlayToEndTimeErrorKey = "Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSUnderlyingError=0x17005eff0 {Error Domain=NSOSStatusErrorDomain Code=-12926 \"(null)\"}, NSLocalizedFailureReason=An unknown error occurred (-12926), NSLocalizedDescription=The operation could not be completed"
Any idea what could be wrong ?