I integrated the AVAnimator
in my project to display video with transparent background.
On the simulator everything works perfectly fine. I can see the video, the background really is transparent and I can hear the audio.
But when I try to build and run on the device I get following error:
Assertion failure in -[SegmentedMappedData mapSegment], /transparentVideoTest/AVAnimator/SegmentedMappedData.m:300
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'mmap result EINVAL'
I'm not so familiar with mmap.
Can anyone tell me what the reason could be, when the mapping works on simulator but not on device?