Describe the bug
See livekit/client-sdk-swift#420. I found that the same memory leak problem appears on Android for every publish -> unpublish track operation.
To Reproduce
Publish then unpublish a camera track, repeat these steps multiple times and you will see that the memory increases. The memory will be deallocated when the room is disconnected.
Expected behavior
After every camera track unpublish the memory should decrease.
Screenshots

Device Info:
- Device: Samsung Galaxy A33
- OS: Android 13
- LiveKit SDK version: v2.6.0
Additional context
See livekit/client-sdk-swift#420 (comment)
Describe the bug
See livekit/client-sdk-swift#420. I found that the same memory leak problem appears on Android for every publish -> unpublish track operation.
To Reproduce
Publish then unpublish a camera track, repeat these steps multiple times and you will see that the memory increases. The memory will be deallocated when the room is disconnected.
Expected behavior
After every camera track unpublish the memory should decrease.
Screenshots

Device Info:
Additional context
See livekit/client-sdk-swift#420 (comment)