Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
hide participants if they go recvonly, almost done with issue #41
Philipp Hancke472a532cc7ff
diff --git a/app.js b/app.jsindex 86d7894a67..886b8e1c9b 100644--- a/app.js+++ b/app.js@@ -489,7 +489,15 @@ $(document).bind('presence.muc', function (event, jid, info, pres) {// might need to update the direction if participant just went from sendrecv to recvonlyif (ssrc.getAttribute('type') == 'video') {- console.warn('video direction for', jid, ssrc.getAttribute('direction'));+ var el = $('#participant_' + Strophe.getResourceFromJid(jid) + '>video');+ switch(ssrc.getAttribute('direction')) {+ case 'sendrecv':+ el.show();+ break;+ case 'recvonly':+ el.hide();+ break;+ }}});