voxeet / voxeet-sdk-web

The Dolby.io Communications SDK for Web.
https://www.npmjs.com/package/@voxeet/voxeet-web-sdk
Other
4 stars 2 forks source link

Current conference participants map is always empty #18

Closed vodemn closed 1 year ago

vodemn commented 1 year ago

Hello! I'm trying to access the current conference participants list, but unfortunately it is always empty for some reason. At the same time, for example, ActiveParticipants event does contain all the participants.

SDK version 3.8.5

FabienLavocat commented 1 year ago

If, while in a conference, you print the list of participants, it is empty?

console.log(VoxeetSDK.conference.participants);
vodemn commented 1 year ago

I'm accessing this list through VoxeetSDK.conference.current.participants. Is there any difference by the way? Should I access this list throught the current conference or I can do it directly from conference service?

FabienLavocat commented 1 year ago

I've never really used the VoxeetSDK.conference.current.participants only VoxeetSDK.conference.participants but for me the result is exactly the same.

image

Could you please share maybe a sample app where you can reproduce this issue or logs or maybe a conference ID so I can look at the logs on our side.

vodemn commented 1 year ago

@FabienLavocat Here is the conference id: 73acdcb7-6dbe-4b3b-9a5b-d39b8be87e6f

FabienLavocat commented 1 year ago

I see a lot of errors in this conference, like the internet connection seems very unstable. Could you give a try using this sample application: https://github.com/dolbyio-samples/comms-sdk-web-sample Connect to a conference, then in the console type:

console.log(VoxeetSDK.conference.participants);
vodemn commented 1 year ago

All the participants are present, when logging them:

console.log(VoxeetSDK.conference.participants);

So problem is somewhere in my code. Thank for your assistance!