Example website for multi-party video/audio/screen conferencing using mediasoup. This project is intended to better understand how mediasoup works with a simple example.
This project is featured on the mediasoup examples page with many other examples. Checkout mediasoup at mediasoup.org.
-
run
npm installthennpm startto run the application. Then open your browser athttps://localhost:3016or your own defined port/url in the config file. -
(optional) edit the
src/config.jsfile according to your needs and replace thessl/key.pem ssl/cert.pemcertificates with your own.
-
in
config.jsreplace theannouncedAddresswith your public ip address of the server and modify the port you want to serve it in. -
add firewall rules of the port of the webpage (default 3016) and the rtc connections (default udp 10000-10100) for the machine.
- Please run
npm run lintbefore to make a PR.
Best to run the project on a linux system as the mediasoup installation could have issues by installing on windows.
More details regarding mediasoup requirements can be found here.