question

Muthukumar-3000 avatar image
0 Votes"
Muthukumar-3000 asked Muthukumar-3000 edited

Remote participant state is coming as "Idle", when the user in the Lobby.

we are developing a team's interoperability web app using Azure communication service(ACS) client-side SDK. here, I'm facing one issue when the participants are in the lobby. When I retrieve the participant from the meeting while connecting to the team's call, remote participant state is coming as "Idle" instead of "InLobby". so that I'm not able to differentiate whether the user is in a meeting or the lobby.

scenario:

let's assume there are two ACS users userA and userB. both are joining the team's meeting using a custom web app. Teams user admin the userA, so he can able to join the meeting and interact with the teams user. but still, the userA can also able to see the userB in his screen.



azure-communication-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Muthukumar-3000,


Thanks for bringing this our attention. I am checking internally with the engineering team to see if this is a known issue and will get back to you when I hear back from them.

When did you start noticing this behavior?

Best,
Grace

0 Votes 0 ·

1 Answer

Muthukumar-3000 avatar image
0 Votes"
Muthukumar-3000 answered Muthukumar-3000 edited

I resolved the issue by using the ACS "stateChanged" event. when the state changes to a "connected" state after the team's user admit the ACS user, I'm adding a participant to the gallery. In this way, I'm avoiding the user to be added to the array when the state is "Idle".

223633-image.png



image.png (10.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.