I use the Media for mobile.
It is the live streaming on Android, but communication is a new thread is created when you connect again interrupted, not the previous thread is deleted.
The thread is made of PublishStreamWOWZ class.
You can easily reproduce by simply turning off the Wi-Fi.
Is there a way to prevent a memory leak?
Can you please provide more information about the test device and the android version you are using. Also, are you using Media for mobile (unmodified live streaming sample)? if you have made changes to the sample, please share the reproducer, so we can check and debug this issue.
Hi Harsh, Thank you for your reply.
I use the Nexus 5 of Android version 5.1.1.Memory leak has occurred in the sample both Camera Streaming and Game Streaming that does not change.During live streaming repeated each time you reconnect to reconnect by airplane mode thread of the WAIT state will increase.
This thread does not end after you shut down the live streaming.
Thanks for providing details. It is an interesting use case and I was able to reproduce the issue with samples. Will bring this issue to our team.