vdugnist / DVAssetLoaderDelegate

Loader delegate for caching AVURLAsset
MIT License
104 stars 28 forks source link

Error: unsupported url #13

Open SparklingAir opened 3 years ago

SparklingAir commented 3 years ago

Hello! iOS 13 / pod 'DVAssetLoaderDelegate' / using either DVURLAsset(url: originUrl) or AVURLAsset(url: customSchemeUrl) + setting DVAssetLoaderDelegate(url: originUrl) or any other playing with url scheme leads to this error:

Task .<1> finished with error [-1002] Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported URL, NSErrorFailingURLStringKey=DVAssetLoaderDelegate:.mp4, NSErrorFailingURLKey=DVAssetLoaderDelegate:.mp4, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<1>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<1>, NSUnderlyingError=0x600001bf8f90 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}}

*I have replaced confidential url with asterisks