Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
2 Views

getUsers returns useless data

Hi,

We are developing an application using the WebRTC platform but we ran into a issue regarding getting the users from a room.

The idea is a server manages the creation of rooms and tokens for clients to access the room.
When the server creates a token with a name (in this case as an example 'Sjaak') and role (presenter), and the user successfully connects to the room.

In the server we later want to check the members of the room, but the members of the room seem to be corrupted.

We receive the name of the user like this:
[
        {
                "id": "\/#UyvEjvUwtkqaxii8AAH-",
                "name": "?6?",
                "role": "presenter"
        }
]

So the name of the user seems to be encoded or corrupted.

Is this a known bug? Can we fix that?

Tags (2)
0 Kudos
2 Replies
Highlighted
2 Views

Hi Mark,

Hi Mark,

Do you get user list through REST APIs or the JavaScript SDK?

0 Kudos
Highlighted
Beginner
2 Views

Hi Jianjun,

Hi Jianjun,
It was using the REST API. But we already have identified the problem and is no longer an issue.
The user name had to be sent base64 encoded

0 Kudos