diff --git a/README.md b/README.md index d71f2d8..e36ba9c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Powered by `WebRTC` with [SFU](https://mediasoup.org) integrated server. ## DigitalOcean -This application has been tested and `works perfectly` on [DigitalOcean](https://m.do.co/c/1070207afbb1) `droplet Ubuntu 20.04 (LTS) x64`, with [Ngnix](https://www.nginx.com/) and [Let's encrypt](https://letsencrypt.org/). +This application has been tested on [DigitalOcean](https://m.do.co/c/1070207afbb1) `droplet Ubuntu 20.04 (LTS) x64`, with [Ngnix](https://www.nginx.com/) and [Let's Encrypt](https://letsencrypt.org/). [![DigitalOcean Referral Badge](https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%201.svg)](https://www.digitalocean.com/?refcode=1070207afbb1&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge) diff --git a/public/Room.html b/public/Room.html index 6d86e3f..e0d118c 100644 --- a/public/Room.html +++ b/public/Room.html @@ -64,7 +64,7 @@ - + diff --git a/public/css/Room.css b/public/css/Room.css index 8d97e1d..1ece04b 100644 --- a/public/css/Room.css +++ b/public/css/Room.css @@ -539,12 +539,8 @@ button:hover { overflow: auto; } -#roomParticipants ul { - text-align: justify; - list-style: inside; -} - #roomParticipants button { + background: transparent; color: red; border-radius: 5px; } @@ -553,6 +549,25 @@ button:hover { border-radius: 5px; } +#roomParticipants table { + border-collapse: collapse; + width: 100%; +} + +#roomParticipants td, +#roomParticipants th { + /* border: 1px solid #444444; */ + color: white; + text-align: left; + padding: 8px; +} + +/* +#roomParticipants tr:nth-child(even) { + background-color: #000000; +} +*/ + /*-------------------------------------------------------------- # Pulse class effect --------------------------------------------------------------*/ diff --git a/public/js/Room.js b/public/js/Room.js index c6e6dcc..b1df8b9 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -183,7 +183,7 @@ function appenChild(device, el) { function getPeerInfo() { peer_info = { detect_rtc_version: DetectRTC.version, - is_webrtc_Supported: DetectRTC.isWebRTCSupported, + is_webrtc_supported: DetectRTC.isWebRTCSupported, is_mobile_device: DetectRTC.isMobileDevice, os_name: DetectRTC.osName, os_version: DetectRTC.osVersion, @@ -736,17 +736,20 @@ async function sound(name) { async function getRoomParticipants() { let room_info = await rc.getRoomInfo(); let peers = new Map(JSON.parse(room_info.peers)); - let lists = `