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

使用后,经常出现播放失败 AVPlayerItem.error = Error Domain=AVFoundationErrorDomain Code=-11829 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media may be damaged., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x2821d8270 {Error Domain=NSOSStatusErrorDomain Code=-12848 "(null) #87

Open
Leo-Smith opened this issue Apr 6, 2023 · 3 comments

Comments

@Leo-Smith
Copy link

swift 5
iOS 15
iPhone 12

Error Domain=AVFoundationErrorDomain Code=-11829 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media may be damaged., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x2821d8270 {Error Domain=NSOSStatusErrorDomain Code=-12848 "(null)

@Serena1993
Copy link

+1

1 similar comment
@krayc425
Copy link

+1

@ZeroOnet
Copy link

if (self.bufferData.length > kBufferSize) {

问题是这个引起的,正确的做法是收到 data 就响应给 ResourceLoader。目前作者看起来已经没有维护了,你可以自行 fork 处理,同 #96

@Leo-Smith @Serena1993

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

4 participants