After a call is ended, the devices must be released. However, sometime it seems like they do not (for example, camera is still displayed with a green dot, or the tab has a red dot).
Steps to reproduce
Start and end some calls in browser within the app.
Notice the local devices still being used despite no calls being active.
Might investigate the room recreation - when a new room is created, OngoingCall completes the rejoin. This might be a place where local tracks are recreated two or more time, so after the call is ended they don't get disposed.
What is the current bug behavior?
Local devices are still used after the call is ended.
Summary
After a call is ended, the devices must be released. However, sometime it seems like they do not (for example, camera is still displayed with a green dot, or the tab has a red dot).
Steps to reproduce
Might investigate the room recreation - when a new room is created,
OngoingCall
completes the rejoin. This might be a place where local tracks are recreated two or more time, so after the call is ended they don't get disposed.What is the current bug behavior?
Local devices are still used after the call is ended.
What is the expected correct behavior?
No devices are used when there's no active call.