Skip to content

Memory leaks produced by publishing/unpublishing camera tracks #521

Description

@VatamanuBogdan

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
Android Memory Leaks

Device Info:

  • Device: Samsung Galaxy A33
  • OS: Android 13
  • LiveKit SDK version: v2.6.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions