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

Signalling Connection Disconnected Issue #971

Closed
GauravAndroidIS opened this issue Apr 23, 2020 · 7 comments
Closed

Signalling Connection Disconnected Issue #971

GauravAndroidIS opened this issue Apr 23, 2020 · 7 comments
Assignees

Comments

@GauravAndroidIS
Copy link

I have made the changes in the identity but getting the same issue.FYI video calling working in only one system but not working if i used any different system Please check what is the issue. This log might help you.

E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA2782b1d1c15697c143eff83a9c4642aa -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA2782b1d1c15697c143eff83a9c4642aa -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA38c22f96d5d6f1ccaa8853008470bd08 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA38c22f96d5d6f1ccaa8853008470bd08 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAda048b59050fb91297bb0e3b9a02fbb1 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAda048b59050fb91297bb0e3b9a02fbb1 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA06efc1b48c9dd2152f30ebb28cc99409 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA06efc1b48c9dd2152f30ebb28cc99409 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA9f636a3e6a26586a7fad623f5e2f93bf -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA9f636a3e6a26586a7fad623f5e2f93bf -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAf97eb1680372f630cb5d8151acf44aeb -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAf97eb1680372f630cb5d8151acf44aeb -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAe6c6b103f13e765119f339ee8827810d -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAe6c6b103f13e765119f339ee8827810d -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA4ae7353d05c3ca067636887c38ec228e -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA4ae7353d05c3ca067636887c38ec228e -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAe2128d1c44d375adddad96c6dd02bbc5 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAe2128d1c44d375adddad96c6dd02bbc5 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAb7ea311d9ec5cff0e986f20eae077c80 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAb7ea311d9ec5cff0e986f20eae077c80 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA9a212e0785a0a6d890f6c2534f4405ee -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA9a212e0785a0a6d890f6c2534f4405ee -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA3d90c8dd55d2a17c8116097927bf0528 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA3d90c8dd55d2a17c8116097927bf0528 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA7197450b1ff353ae6d986a1bac88ca66 -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PA7197450b1ff353ae6d986a1bac88ca66 -
E/TwilioonParticipantConnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAc3bc6b374f8f59d1b72d8d144f07142b -
E/TwilioonParticipantDisconnected: RM766e8ab2bfbcf72f869c1e354ab232f7 - PAc3bc6b374f8f59d1b72d8d144f07142b -

@GauravAndroidIS
Copy link
Author

GauravAndroidIS commented Apr 23, 2020

@manjeshbhargav Please provide me solution for the same. I am stuck in this issue for a long time and some work is suffering because of this

@manjeshbhargav manjeshbhargav self-assigned this Apr 23, 2020
@manjeshbhargav
Copy link
Collaborator

Hi @GauravAndroidIS ,

I took a look at the Room SIDs, and the Participants get disconnected still have the same identity. Please provide a different identity while creating the token for each Participant.

Thanks,

Manjesh Malavalli
JSDK Team

@GauravAndroidIS
Copy link
Author

GauravAndroidIS commented Apr 23, 2020 via email

@manjeshbhargav
Copy link
Collaborator

@GauravAndroidIS It looks like there is some problem with the way you create the $identity. I don't think there is a method called rand() on a string in PHP (BTW I'm not that familiar with PHP). Maybe you could try something like this?

function generateRandomString($length = 10) {
    $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $charactersLength = strlen($characters);
    $randomString = '';
    for ($i = 0; $i < $length; $i++) {
        $randomString .= $characters[rand(0, $charactersLength - 1)];
    }
    return $randomString;
}

Thanks,

Manjesh Malavalli
JSDK Team

@GauravAndroidIS
Copy link
Author

GauravAndroidIS commented Apr 23, 2020 via email

@GauravAndroidIS
Copy link
Author

GauravAndroidIS commented Apr 23, 2020 via email

@manjeshbhargav
Copy link
Collaborator

manjeshbhargav commented Apr 24, 2020

Hi @GauravAndroidIS ,

Here is the list of identities in the Room that you shared:

identityHpwQbvreEK
identity5r0hi6NUfA
identityGoRBCx41mj
identityGoRBCx41mj

identityprGKkWdyha
identity1ZAHQXxkjN
identity567DiWlaO7
identity567DiWlaO7

identityfJKkMGytgJ

The bolded identities are duplicates, and identities have to be unique per Participant.

Thanks,

Manjesh Malavalli
JSDK Team

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