• Stars
    star
    198
  • Rank 191,367 (Top 4 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple video conferencing example using the mediasoup sfu

Mediasoup video conferencing

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

Running the code

  • run npm install then npm start to run the application. Then open your browser at https://localhost:3016 or your own defined port/url in the config file.
  • (optional) edit the src/config.js file according to your needs and replace the ssl/key.pem ssl/cert.pem certificates with your own.

Deployment

  • in config.js replace the announcedIP with 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.

Pull Requests

  • Please run npx prettier --write . before to make a PR.

notes : Best to run the project on a linux system as the mediasoup installation could have issues by installing on windows. If you have a windows system consider installing WSL to be able to run it.

installing wsl on windows 10