AVFoundationErrorDomain code: -11800 with https on iOS

See original GitHub issue

Current behavior

On iOS the video does not play, the onBuffer function is called once with this data: {isBuffering: false, target: 969} And then the onError function is called with this data: {error:code: -11800, domain: "AVFoundationErrorDomain"}, target: 969}

The video is played successfully on Android.

Reproduction steps

  • Create a new react native project
  • Install and link (manually because cocoapods created issues in my project) the library
  • Try to play Big buck bunny:
<Video
  source={{
    uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
  }}
  onBuffer={onBuffer}
  onError={onError}
  style={{ width: constants.screenWidth, height: constants.screenWidth * 0.55 }}
/>

Expected behavior

The video would play

Platform

  • iOS

Video sample

https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:25

github_iconTop GitHub Comments

8reactions
wsrastcommented, Jul 30, 2020

I’m seeing this problem intermittently. I had some luck adding the type: "mp4" to the source prop of the video tag, but that was a red herring, it seems. This problem is back for me in version 5.0.2, after playing just fine for quite a while.

Doing some digging in the issues here, I found several related items:

https://github.com/react-native-community/react-native-video/issues/275 (http vs. https issue suggested) https://github.com/react-native-community/react-native-video/issues/1886 (encoding issue suggested) https://github.com/react-native-community/react-native-video/issues/1940 (no cause suggested) https://github.com/react-native-community/react-native-video/issues/2044 (no suggestions)

This seems to be a prevalent and continuing issue. Why is this closed?

8reactions
SamiChabcommented, Nov 3, 2019

I have the error only on my iPhone simulator, but not on real device… react-native-video@5.0.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

AVFoundationErrorDomain Code-11800… - Apple Developer
Hi~ I have got the error below, when I tried to export the video from iphone to my project using exportAsynchronously of AVAssetExportSession....
Read more >
AVFoundationErrorDomain code: -11800 with https on iOS
I have the error only on my iPhone simulator, but not on real device... react-native-video@5.0.2. 7
Read more >
ios - Error -11800 when attempting to insertTimeRange of ...
This code error corresponds to AVErrorUnknown = -11800 so there is not much explanation about the cause of the issue.
Read more >
11800 "The operation could not be completed. Error Domain ...
I am using AVPlayer in my chat application but i am getting the fallowing error in selected audio files but the audio files...
Read more >
Error Domain=AVFoundationErrorDomain Code=-11800 "The ...
Error Domain=AVFoundationErrorDomain Code=-11800 “The operation could not be completed”. xxxxx. Error Domain=AVFoundationErrorDomain ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found