Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

getUsers returns useless data

Mark_d_10
Beginner
374 Views

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?

0 Kudos
2 Replies
Jianjun_Z_Intel
Employee
374 Views

Hi Mark,

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

0 Kudos
Mark_d_10
Beginner
374 Views

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
Reply