I’m working on a Online class App. This is the scenario:
I have a teacher and 30 students.
I have changed Room.js of mediasoup-demo server and made it like this:
- Teacher can consume all student if he wants. (at the first when students connect they all silence).
- Teacher can produce.
- Students can consume teacher.
- Students can produce himself if teacher wants.(at the first when students connect they all silence).
I have to mention that I do not want to have all student’s video and audio. JUST one of them or two.
It’s working fine now, but I have a problem
Assume 3 students already joined. When the fourth student wants to connect, one of students loses teacher’s video and audio immediately.
How can I fix it?
I mean, there is no limitation here? Maybe I made a mistake somewhere.