I am trying to track the amount of participant who are at a given time in a meeting. For this I am using a webhook, which receives the participant_joined and participant_left events.
On the first event, a participants user_id is added to a list, on the second event the participant’s user_id is removed from the list. The number of user_ids in the list should give the number of people in the meeting at a given time.
I have implemented the scheme as described above and tried it with real-world meetings (up to 200 participants), but fairly quickly the number deviates from the actual number of participants.
As far as I can tell, the webhook method described above lists too many participants.
Is it possible that I am not receiving all events? Would there be a better method to track the number of participants?
Which App Type (OAuth / Chatbot / JWT / Webhook)?