Meet "AVFoundationErrorDomain" error when loading a remote url
See original GitHub issueHere’s my code:
source={{uri: "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4"}}
Then it triggered loadError function which shows error object like this:
{ error: { domain: 'AVFoundationErrorDomain', code: -11800 }, target: 14 }
I’ve made a huge search and still have no idea.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:21
- Comments:18 (5 by maintainers)
Top Results From Across the Web
AVURLAsset cannot load with remote file - Stack Overflow
In the completion block, the status is AVKeyValueStatusFailed and the error message is "Cannot Open". All exemples I have seen, use a local...
Read more >Using AVFoundation to Play and Persist HTTP Live Streams
The StreamListManager class manages loading and reading the contents of the ... method is called to remove the downloaded stream at the specified...
Read more >AVFoundation error -11829 "Cannot - Apple Developer
trying to use AVPlayer on a remote (https:) mp4 file. randomly we get the above error on the exact same url. works fine...
Read more >Create a more responsive media app - WWDC22 - Videos
Discover how you can use AVFoundation to keep people focused on your media app's content — not your loading spinner. We'll show you...
Read more >Step-by-Step: Simple Video App using Objective-C
Make sure you import the AVFoundation framework. ... if (!success) { NSLog(@"AppDelegate Debug - Error setting AVAudioSession category.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i’m getting the same error. nothing in log.
i had to NSLog(@“%@”, _playerItem); in RCTVideo.m to print out the real error
Transport security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file
and found the solution here. basically you have to enable http or use https http://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http
I also can’t play https video URLs. Getting this kind of error objects: