Reconnecting automatically and peer is missing

Peer missing from some mediasoup-client
Hi, I am working with mediasoup , and mediasoup-client. I Created an application from demo repository. When connecting with some user(A) connection reload automatically and end-user(B) is unable to see the peer(A). But after successful reload it works fine.
Please help me to solve this.

What do you expect from us? You have taken the mediasoup-demo code, modified it and it does not work because you have done something wrong. Fix it instead of asking for divine help. Nobody knows how your code looks like.