I\'m trying to load a video file into my iPad app as an AVURLAsset, using the asynchronous-loading stuff to wait for it to be ready. Problem is, when I run it,
AVURLAsset
If you are using -[NSURL fileURLWithPath:] to create the URL and still get the same error.
-[NSURL fileURLWithPath:]
Check the AVURLAssetReferenceRestrictionsKey, Your local m3u8 may failed to play if it contains remote resource.
AVURLAssetReferenceRestrictionsKey
Set the value to @(AVAssetReferenceRestrictionForbidNone) should solve the problem.
@(AVAssetReferenceRestrictionForbidNone)