AVAsset's isPlayable is not accurate.
| Originator: | padraig.kennedy | ||
| Number: | rdar://19703131 | Date Originated: | 03-Feb-2015 11:31 AM |
| Status: | Closed | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.1.3 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: AVAsset’s isPlayable method returns NO for certain audio files which play fine through AVPlayer. In particular extended AACs suffer from this. Steps to Reproduce: 1. Create an AVAsset with an extended AAC (grab one from the AAC feed here http://www.macobserver.com/tmo/features/mac_geek_gab_free/) 2. Check `isPlayable` 3. Try playing it anyway. Expected Results: 1. `isPlayable` should return YES Actual Results: 1. `isPlayable` returns NO, but the file is in fact playable Notes: A work around is to also check `asset.tracks.count == 0` to confirm that the asset is not playable, but that is probably letting through some assets that have a track that we can’t play. An example project is attached which demonstrates this issue reliably.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Won't Fix
From Apple, 03-Feb-2015 11:32 AM:
There are no plans to address this.
We are now closing this report.
If you have questions about the resolution, or if this is still a critical issue for you, then please update your bug report with that information.
Please be sure to regularly check new Apple releases for any updates that might affect this issue."