AVFoundationErrorDomain only IOS

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): IOS


I try to play / stream a video on http/https and i get this error, but only on ios device (on android device, emulator it’s working fine)

onError The media data could not be decoded. It may be damaged. - The AVPlayerItem instance has failed with the error code -11821 and domain “AVFoundationErrorDomain”.

thx for your help


Some of not working video works with webview…
Some video not call onError…

weird problems…

Hey @sbe,

If you’re able to get a reproducible test case of the behaviors you’re mentioning, please make a Github Issue so we can further investigate!


@adamjnav thx, i will do it cause it very importante for me to resolve this issue.

By the way, in source, should i have to force the hostname of the mp4 ?

Thx in advence.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.