Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Identity issue when doing reconnect after network connection failure #1048

Closed
imarshmultani opened this issue Jun 4, 2020 · 1 comment

Comments

@imarshmultani
Copy link

Hey there,

What's happening is that Suppose if i try to switch the network and it takes me more then 20 seconds or 15 seconds, then i'm disconnected from the call and shown an error of either Signaling or media connection failed or media activity ceased.

Then i have implemented an socket method on my server listens to it's events and checks if reconnection is successfully made, if yes then i get fresh data from sockets and without reloading the page as due to previous network error the twilio video room was disconnected i attempt to auto reconnect it , i do trigger connect of room and it does connect but within 1 second i'm disconnected and shown error of Duplicate participant identity, but i'm joining as same use who got disconnected previously and there is no other user with same identity.

So basically when app fails the attempt to reconnect as network was not present for more then 20 seconds or so ... how i'm supposed to handle reconnection ?

Also connect to room again using connect button does not do anything if i'm just recovered from network connection ... it could be my side only maybe ... but hint about solution would help to fix it.

Please any suggestions would help to make fix issue or implement it properly will be appreciated ..

Thanks

@manjeshbhargav
Copy link
Collaborator

@imarshmultani ,

Closing as duplicate of #1052 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants