Chatmosphere / chatmosphere-app

We are a small group of friendly humans working on an open source project to make informal video calls more fun and dynamic.
https://chatmosphere.cc/
Other
161 stars 40 forks source link

🐞 EventListener for "onTrackMuted" is added on Remote Tracks but seems to be not removed when track is lost / left #87

Open dkgrieshammer opened 2 years ago

dkgrieshammer commented 2 years ago

Describe the bug Following message indicates that there is a stale eventlistener after participant left; should be removed when users list updates. Not really critical but adds to memory on constant hopping. 2021-11-11T12:02:04.489Z [modules/connectivity/ParticipantConnectionStatus.js] <g.onTrackRtcMuted>: No participant for id: e2850728

To Reproduce Steps to reproduce the behavior:

  1. Open Conference on one browser & open devTools/Console
  2. Join on second browser
  3. Leave & Join several times on second browser to see error coming up

Expected behavior onTrackMuted listener should be cleaned up after object left the scene