amazon-chime-sdk-js icon indicating copy to clipboard operation
amazon-chime-sdk-js copied to clipboard

Memory leak on meetingSession.audioVideo.start()

Open NirmalmaheshSubramani opened this issue 1 year ago • 2 comments

What happened and what did you expect to happen?

I am using amazon-chime-sdk-js to create voice meetings. As soon as I call meetingSession.audioVideo.start(); It is creating the DedicatedWorkerGlobalScope in the JS Heap memory.

This Heap object is not cleaned up and keep on added for every new invocation of meetingSession.audioVideo.start().

image

Have you reviewed our existing documentation?

Reproduction steps

const startMeeting = async () => { if (!service.meetingSession) { console.warn('DEBUG: Meeting session not found'); return; } service.meetingSession.audioVideo.start(); };

Amazon Chime SDK for JavaScript version

3.19.0

What browsers are you seeing the problem on?

Chrome

Browser version

Version 126.0.6478.63 (Official Build) (arm64)

Meeting and Attendee ID Information.

No response

Browser console logs

NA

NirmalmaheshSubramani avatar Jul 01 '24 14:07 NirmalmaheshSubramani