Audio recording and streaming while the device is locked

Hello,


my app grabs audio from the microphone, encodes it to aac and streams it to the internet.

Even though I have background audio activated it seems like at some point (3-20 minutes) after the device has been locked

my audio tap does not receive audio samples anymore. Is that expected behaviour?


Best Regards

Daniel