We are running Jitsi sessions for delivering online classrooms. We have hosted Jitsi on 1 Ubuntu server on Azure with 8 vCPU 32 GB RAM system. We are expecting 1GBps port speed.Every classroom contains 4 Audio/Video streams and almost 30 audio streams. Based on this scenario, I have following questions:
System runs fine with 6 classrooms beyond which we see a glitch before starting with 7th one. We were on different networks so it less looks like network issue. Is there any known issue for the same.
We show list of all participants and show one that are online using green dot. We manage this using “JitsiMeetJS.events.conference.USER_JOINED”. We capture Jitsi participant id for this and map it to online user. We see that my jitsi participant id changes every refresh and we update the latest jitsi id with this event. We map displayName to username when user joins session and thus mapping works.
If someone is allowed to add video stream we add his local track and we get “JitsiMeetJS.events.conference.TRACK_ADDED” on other users where we have video element tag. We check the participant id on the track and map their corresponding video element rendered in HTML using Jitsi id mapped earlier.
These seems to work till and until we refresh screen multiple times and then video stops rendering. I belive my logic of mapping Jitsi id is failing. Will there be a case when these events are triggered out of sync for individual user.
Is logic mentioned above valid or we need to make some changes?