Currently to check if you are in a duplicate session is thorugh entering to a room and then you'll get kicked out.
We need to make a short investigation on if it's possible to previously to enter to a room to check if you have a duplicate session.
From what I was researching mux does not have a way to tell you which participants are in the call without doing the join, so I don't see feasible to do this using mux.
Something that could be implemented is to use supabase, save in some table dynamically which users are connected to it.
Implementing this could take time, so I think it would be reasonable to make a decision if we want to do it or leave it as it is currently working.
Currently to check if you are in a duplicate session is thorugh entering to a room and then you'll get kicked out. We need to make a short investigation on if it's possible to previously to enter to a room to check if you have a duplicate session.