Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

getUsers returns useless data

Mark_d_10
Beginner
111 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
111 Views

Hi Mark,

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

Mark_d_10
Beginner
111 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

Reply