I am creating a local http server to stream live video to AVPlayer. It works fine on iOS 7, but failed in the beta version of iOS 8. Player never sends a request to my local server, its playerItem status always becomes AVPlayerStatusFailed immediately after calling the player’s playback method.
The error received is as follows:
Domain error = AVFoundationErrorDomain Code = -11800 "Operation could not be completed" UserInfo = 0x179c675c0 {NSUnderlyingError = 0x17a252c60 "Operation could not be completed. (Error OSStatus -12666.)", NSLocalizedFailureReason = An unknown error occurred (1166) Operation could not be completed}
I posed this problem on the iOS developer forum and received an answer from Apple - "this is due to an error in the first semester of 8.0."
However, they did not say that they would correct this error and instead ask me why I need it. Does anyone have the same problem?
source
share