Openvidu Call Participant Counter Signal

Hi Guys,

Could you please help which part of the code is responsible for updating the participants number in Openvidu call app at the left bottom? So which is the code snippet that sends out the signal to the remote users to notifiy them a new participant joined/left?

I need this because I modified the app that subscribers can join the meeting as viewer (without publishing a stream), but they does not appear in the counter yet.

Thanks,

Hi,
Footer component is the component that handles it: https://github.com/OpenVidu/openvidu-call/tree/master/openvidu-call-front/src/app/shared/components/footer

And this is the code snippet subscription to participants list: https://github.com/OpenVidu/openvidu-call/blob/a2e512866ee7008b3b837d2f2a8a86dcfe13acff/openvidu-call-front/src/app/video-room/video-room.component.ts#L535