Closed JakeTrock closed 6 years ago
I resolved this issue on my own by doing this timeout: var totalSeconds = 0; setInterval(setTime, 1000); function setTime() { totalSeconds += 1; if (totalSeconds > 300) { webrtc.leaveRoom(); //redirects to home dir(removed for security reasons) } }
I have a simplewebrtc room, and when one client leaves, their volume meter, and mute button are still there, is there any way to remove this when they leave the room? Code: https://pastebin.com/uuWA3E59