Zoom Apps Configuration
VueJS + RTMS
Description
I’ve noticed something unexpected with the participantId
value when using zoomSdk.getMeetingParticipants()
.
In one meeting, another person was the host. Their participantId
was 16778240
.
In a different meeting where I was the host, my participantId
was also 16778240
.
So two different users, in different meetings, both had the same participantId
when they were the host. This makes it look like the host role always gets assigned the same ID, no matter who the host is.
Here’s a simplified version of my test code:
const participants = await zoomSdk.getMeetingParticipants();
console.log(“participants:”, participants.participants);
And here’s what I see:
Meeting #1 (David is host)
-
Host:
participantId: 16778240
-
Attendee:
participantId: 16808960
Meeting #2 (I am host)
-
Host:
participantId: 16778240
-
Attendee:
participantId: 16778344
The Issue
This makes me wonder:
-
Is
participantId
supposed to be tied to the user or only to the role? -
Is there a way to reliably identify the actual user across meetings?
-
How can we consistently identify hosts and participants uniquely from our app and rtms connections?
Has anyone else run into this? Is this expected behavior, or am I missing something in how participantId
is defined?
Error?
The same participantId
(16778240
) was assigned to the host role in two different meetings, even though the hosts were different people.
Troubleshooting Routes
I spoke with the kind people at Zoom developer office hours and they suggested I post this.
How To Reproduce
David and I will swap being hosts at consecutive meetings logging the output from zoomSdk.getMeetingParticipants();