Ionic Glitchy Background audio

I’m using cordova-native-media plugin to listen to audio and when I minimise the app, I have managed to still have the audio playing, BUT it is super glitchy and looks like something is pausing the thread every couple seconds. It is the same issue for IOS and Android.