Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on incoming audio #34

Open
sus-taguchi-t opened this issue May 10, 2024 · 2 comments
Open

Memory leak on incoming audio #34

sus-taguchi-t opened this issue May 10, 2024 · 2 comments

Comments

@sus-taguchi-t
Copy link

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.

@ivanovandrewx
Copy link

Hi, I was wondering if there are any updates on this one — same issue with memory leak. 😢

@tobowers
Copy link

We also see a memory leak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants