Discord has begun testing video chat and screen sharing — two of the most-requested features from its audience of free voice and text chat users — for about 5 percent of its users. Dec 7, 2018 - This was reported to discord already and dismissed as merely a UI concern. Cliff Notes: 1. Screen-share in servers is available to all.
This is no longer being worked on because discord has added this functionality to discord. Better Discord Screen Sharing This is a plugin and server for the plugin for Better Discord that lets you share your screen. DISCLAMER: This is untested on OSX but the paths are set up correctly for OSX. Usage Click the screenshare button in the top right corner to start and stop the screen share. The video will appear in the chat and only in the one that it was started in.
Known Bugs. Sometimes the video will be blank, There is no way I can fix this since the problem is with the media server. The media server has a memory leak, so every time that the screen share stops it will restart kurento. That's why there is a sudo password environment variable.
When you use the installer Nginx might not start so you have to restart Nginx. Automatic Installer Before you start Make sure you are on Ubuntu 14 or 16.04 since this will not work with any other version of linux or ubuntu. This program is made to run on a server thats not on your network. So it might not work if your running this on a computer in your network.
Installer Run my automatic installer to install the dependencies, set up nginx, and generate a certificate. If there are any errors please contact me at or open an issue. Run the command below and substitute the variables with the information. When it generates the certificate, follow the prompts. use 'sudo systemctl start, stop, restart screenshare' to control the server.
Go into the html folder and move ScreenShare.plugin.js to your better discord folder. Sudo./install.sh domain botToken chatID admins sudoPassword httpPassword user group domain: The domain name of the server, if you dont have one use botToken: This is the token for the discord bot ChatID: This is the ID for the chat the bot will be in. To get it admins: A list of users, without spaces that can control the screen sharing in addition to the person who is sharing. SudoPassword: This is the password for your user account on your server, I need this to run the script that restarts Kurento. HttpPassword: This is the password for the http authentication. User: User the server will run as group: Group the server will run as.
After To change any of these variable re-run the installer. Manual Install See if you want to manually install the server. Upcoming Features. Better Autoupdate. Disconnect detection. Webcam Support Libraries Used.
Problems If there are any problems please open a issue so I can fix it.