Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Hiroshi_K_1
Beginner
93 Views

To memory leak when the RTMP communication with Android

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?

0 Kudos
4 Replies
93 Views

Hi Hiroshi,

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.

Thanks,  

Hiroshi_K_1
Beginner
93 Views

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.

 
93 Views

Hi Hiroshi, 

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. 

Thanks, 

 

Hiroshi_K_1
Beginner
93 Views

Hi Harsh,

Thank you for sure!I am looking forward to that this bug is fixed.

Thanks,

Reply