Building a video conferencing system.

59 views
Skip to first unread message

Uzair Ahmed

unread,
Sep 24, 2018, 6:11:23 AM9/24/18
to EasyRTC
Hey, so I've got this personal project to work on, which is a virtual meeting room type conference. People can login, enter their desired room, and chat over voice and message.
So far it is working great with the EasyRTC library, however I am facing a few hitches. These are: 
1) Hanging up a call disconnects both parties. For example, A is on call with B and C. When A presses end call, A is no longer able to see the streams of B and C. What I wish to accomplish is, if a user clicks end, it should only end the stream for A, so that B & C cannot see A, however A should be able to see both of them. I tried with setting  enableAudio and EnableVideo to false, but it does not accomplish anything.
2) I would like to pass a parameter with each user id, so for example, to check if user is a moderator or not. I have that being set by cookies, and that works fine, but  sending it beats me as to how to send it to other clients when making a call, not when roomoccupantlistener is called. That is, it should send the value when the call button is pressed, and not before.
3) I would like to distinguish between audio calls and video calls. Right now I am using a dirty fix by counting the number of streams received, but I hope there is an easier solution.

Thanks in advance,
Uzair.
Reply all
Reply to author
Forward
0 new messages