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
(lldb) po [kCacheScheme stringByAppendingString:[url absoluteString]] VIMediaCache_:http://xxx.mp4
(lldb) po [NSURL URLWithString:[kCacheScheme stringByAppendingString:[url absoluteString]]] nil
open var avURLAsset: AVURLAsset { get { guard !url.isFileURL, url.pathExtension != "m3u8" else { return AVURLAsset(url: url) } return BMPlayerManager.asset(for: self) **/// crash , because asset = nil** } }
The text was updated successfully, but these errors were encountered:
@implementation VIResourceLoaderManager (Convenient)
(NSURL *)assetURLWithURL:(NSURL *)url { if (!url) { return nil; }
NSURL *assetURL = [NSURL URLWithString:[kCacheScheme stringByAppendingString:[url absoluteString]]]; return assetURL;
/// crash, /// static NSString *kCacheScheme = @"VIMediaCache_:" to ---> @"VIMediaCache:" /// done!
}
Sorry, something went wrong.
No branches or pull requests
(lldb) po [kCacheScheme stringByAppendingString:[url absoluteString]]
VIMediaCache_:http://xxx.mp4
(lldb) po [NSURL URLWithString:[kCacheScheme stringByAppendingString:[url absoluteString]]]
nil
The text was updated successfully, but these errors were encountered: