mikhail-angelov / mediasoup-demo

mediasoup official demo application

Home Page:https://demo.mediasoup.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mediasoup-demo v3 (your personal video conference)

This is clone of mediasoup-demo If you like to see original demo you can use this link https://v3demo.mediasoup.org

The main goal of this repo is provide easy way how to deploy this video conference solution on your VPS

Assumption: you have an VPS e.g. on DigitalOcean, and IP of this VPS is point to your domain VPS should have docker and docker-compose installed

Prepare docker image (build)

  • copy .env.local to .env file
  • update environment variables at .env
    • MEDIASOUP_LISTEN_IP - external IP address of your VPS
    • MEDIASOUP_ANNOUNCED_IP - external IP address of your VPS
    • DOMAIN - your domain, which is resolved to external IP address of your VPS
    • YOUR_EMAIL - valid email
    • DOCKER_TAG - tag for your docker image (e.g. mangelov/mediasoup-demo:latest)
  • npm install
  • make build

Push your docker image to docker hub

  • make push

You can skip those 2 steps if youl use my docker image mangelov/mediasoup-demo:latest

Deploy

Assume you created /opt/mediasoup dir on your VPS

  • make scp
  • make deploy

now you can use your own video conference https://<your domain>/index.html

Thank you

Huge thank you for awesome mediasoup project

for cool le-nginx project

Author

License

MIT

About

mediasoup official demo application

https://demo.mediasoup.org


Languages

Language:JavaScript 75.8%Language:TypeScript 14.0%Language:Stylus 6.5%Language:Shell 3.2%Language:HTML 0.2%Language:Makefile 0.1%Language:Dockerfile 0.1%