I'm facing a very annoying issue on iOS 12.1.3 with my iPhone XS Max and iPhone 7 Plus iOS 10.
I use some current video player apps from App Store the support for the video playback, the audio background playback. The videos can be added via itunes file sharing. it's all local in the app.
I play music meditation video. The problem is that whenever the iPhone goes into idle mode (either by waiting, or by pressing the power button) or leave the app (to activate the audio background playback for video).
Then the sound stutters for 1 or 2 seconds. Which is very annoying, especially when you are in the middle of a meditation and need to hear instructions clearly.
Following are the steps to reproduce my problem:
Add video files with audio track to the app (Infuse or nPlayer) e.g via iTunes File Sharing
Activate the audio background playback
Play the video file
Go into idle mode or leave the app
The sound stutters for 1 or 2 seconds
Could you please help us with what the cause is. This is a general blocking problem for everyone. all video player apps for iOS have this problem.
Apps the only apple framework, like avfoundation, avkit, avplayer etc... use do not have these problems.
Thank you very much!