Cannot join session due to User identity issue

Description
Even though unique user id is provided to user_indentity field in the payload while generating the token, there is an inconsistency while entering into the session on Android. Sometimes it fails to join session while sometimes it does after trying different combinations of values for user_identity. Providing an unique user_identity value it works well on web but not on the Android side as described.

Which Android Video SDK version?
Using the latest mobilertc.aar

Smartphone (please complete the following information):

  • Device: Realme 5Pro
  • OS: Android 10

In web frontend we are using @zoomus/instantsdk version 1.0.3. We need help asap.

Hi @jddee, thanks for using our SDK.

Sorry to hear you’re having intermittent issues with joining a session. Can you please clarify which error code you are seeing?

Thanks!

Hi @sayanta2702, thanks for using the dev forum.

For help with the web Video SDK, please post over in #web-video-sdk and someone will be more than happy to assist. :slightly_smiling_face:

Thanks!

@jon.lieblich, thanks a lot for replying. Actually we are facing the issue in both web and mobile sdk. And we are using the same token generated from backend in both mobile and web. We wanted to add both Mobile and Web tag…but found only one

@jon.lieblich The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014. If we are keeping the token generation process at backend, please let us know what exactly the parameters need to be and how they should be so that that token works both on web frontend sessions as well as android sessions.

The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014. If we are keeping the token generation process at backend, please let us know what exactly the parameters need to be and how they should be so that that token works both on web frontend sessions as well as android sessions.

Hi @jddee and @sayanta2702,

We wanted to add both Mobile and Web tag…but found only one

That is because the web SDK is structured differently than the Android/iOS SDKs, so it has its own forum category.

The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014.

According to our error codes documentation, this error means that the parameters being used to join the session are invalid. Please double check that all of the required parameters are being passed in with correct values.

Thanks!

Can we use same signanture in both android and web sdk?

Hi @sayanta2702,

The structure of the JWT required for our native SDKs can be found here. For help with the web SDK, please post over in #web-video-sdk and one of my colleagues will be happy to assist. :slightly_smiling_face:

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.