Memory leak on incoming audio
Hi. I am currently implementing an audio exchange and the audio communication is correct. However, I was experiencing memory leaks, so I did a little investigating.
I am calling the AudioStream constructor in the callback registered to the TrackSubscribed event of the Room class instance, but if I comment out that part, the memory leak goes away. In particular, I have confirmed that it is possible to reduce the memory leakage a little by changing the part of the OnAudioStreamEvent method of the AudioStream class that creates an instance of the AudioFrame class to a using statement. However, the memory leakage is not completely eliminated, so there may be other causes.
Hi, I was wondering if there are any updates on this one — same issue with memory leak. 😢
We also see a memory leak.
Hi @sus-taguchi-t, thank you for reporting this. The issue has been fixed in the latest release, v1.1.1.