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

More videos in a single view raises error -11839 "Cannot Decode" #47

Open
ugochirico opened this issue Feb 6, 2018 · 5 comments
Open

Comments

@ugochirico
Copy link

ugochirico commented Feb 6, 2018

I added several CTVideoViews in a single view controller.
After about 16 CTVideoViews (on iPhone 7 with iOS 11.2.5) I got the following error:

Error Domain=AVFoundationErrorDomain Code=-11839 "Cannot Decode" UserInfo={NSLocalizedDescription=Cannot Decode, NSUnderlyingError=0x1c1859fb0 {Error Domain=NSOSStatusErrorDomain Code=-12913 "(null)"}, NSLocalizedRecoverySuggestion=Stop any other actions that decode media and try again., NSLocalizedFailureReason=The decoder required for this media is busy.}

Any suggestions?

@casatwy
Copy link
Owner

casatwy commented Feb 7, 2018

does all the 16 video views share 1 url?

@ugochirico
Copy link
Author

@casatwy no, the urls are all different.
Is there a way to avoid from this error?

@jagdev7dayz
Copy link

did you get any solution for it?

@ugochirico
Copy link
Author

No. You cannot load more then 16 videos. The only way is to implement an algo that manages the videos considering such limitation.

@bstillitano
Copy link

@ugochirico do you have an example of how you solved this?

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