Skip to content
New issue

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

App Crash From Source "kCacheScheme = "__VIMediaCache__:" #362

Open
2 tasks
18633142594 opened this issue May 20, 2024 · 0 comments
Open
2 tasks

App Crash From Source "kCacheScheme = "__VIMediaCache__:" #362

18633142594 opened this issue May 20, 2024 · 0 comments

Comments

@18633142594
Copy link

Check List

Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

BMPlayer version

1.3.2

Installed with

  • Carthage
  • [对勾] Cocoapods

Issue Description

When you play the video, it flashes back, on iOS17, and then it turns out that the format of the video URL, it doesn't parse out, because it's underlined, the variable is kCacheScheme, and it crashes in this method down here

What

[Tell us about the issue]
internal static func asset(for resouce: BMPlayerResourceDefinition) -> AVURLAsset {
let asset = BMPlayerManager.shared.cacheManeger.playerItem(with: resouce.url)
return asset!.asset as! AVURLAsset
}

Reproduce

[The steps to reproduce this issue. What is the URL you were trying to play, where did you put your code, etc.]

Other Comment

[Add anything else here]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant