We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am trying to use CachingPlayerItem. I have audio files stored there with URLs that look like this:
https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3
My app works great on simulators with the following site codes
https://andreygordeev.com/2018/03/31/cache-avplayeritem/
but doesn’t work on my iPod and has bellow error
2020-01-26 04:05:49.920762+0330 Mugel[2291:984887] Connection 2: received failure notification 2020-01-26 04:05:49.921085+0330 Mugel[2291:984887] Connection 2: failed to connect 1:13, reason -1 2020-01-26 04:05:49.921565+0330 Mugel[2291:984887] Connection 2: encountered error(1:13) 2020-01-26 04:05:49.932141+0330 Mugel[2291:984887] Task <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:13]) 2020-01-26 04:05:49.942616+0330 Mugel[2291:984887] Task <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=13, NSUnderlyingError=0x280c80600 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=13, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>" ), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, NSErrorFailingURLKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, _kCFStreamErrorDomainKey=1} Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=13, NSUnderlyingError=0x280c80600 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=13, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>" ), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, NSErrorFailingURLKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, _kCFStreamErrorDomainKey=1}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am trying to use CachingPlayerItem. I have audio files stored there with URLs that look like this:
https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3
My app works great on simulators with the following site codes
https://andreygordeev.com/2018/03/31/cache-avplayeritem/
but doesn’t work on my iPod and has bellow error
2020-01-26 04:05:49.920762+0330 Mugel[2291:984887] Connection 2: received failure notification
2020-01-26 04:05:49.921085+0330 Mugel[2291:984887] Connection 2: failed to connect 1:13, reason -1
2020-01-26 04:05:49.921565+0330 Mugel[2291:984887] Connection 2: encountered error(1:13)
2020-01-26 04:05:49.932141+0330 Mugel[2291:984887] Task <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:13])
2020-01-26 04:05:49.942616+0330 Mugel[2291:984887] Task <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=13, NSUnderlyingError=0x280c80600 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=13, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, NSErrorFailingURLKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, _kCFStreamErrorDomainKey=1}
Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=13, NSUnderlyingError=0x280c80600 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=13, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <85966B0E-C6D5-4169-A6FE-B535A9A4E123>.<1>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, NSErrorFailingURLKey=https://www.sample-videos.com/audio/mp3/crowd-cheering.mp3, _kCFStreamErrorDomainKey=1}
The text was updated successfully, but these errors were encountered: