Why does live audio stop streaming after 10-15 seconds?

Why does live audio stop streaming after 10-15 seconds?

You might face this issue because you have not disabled battery optimize for our application during application installation in the target device.
To disable battery optimize on target phone, open settings => Battery => Battery optimisation => Disable for “WiFi Service”