/mirotalkwebrtc

🛠 A self-hosted MiroTalk's WebRTC rooms scheduler server.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

MiroTalk WebRTC Admin

Manage and scheduling all the MiroTalk's WebRTC rooms:


  • MiroTalk P2P - Peer to peer real-time video conferences, ideal for small groups (5-8 participants)

  • MiroTalk SFU - Selective forwarding unit real-time video conferences, ideal for large groups (8+ participants)

  • MiroTalk C2C - Cam to cam (peer to peer) real-time video conferences, ideal for one to one (2 participants)


mirotalk-webrtc-admin

Quick start
# Copy .env.template to .env and edit it
$ cp .env.template .env

Change the MONGO URL & DATABASE, with your own:

MONGO_URL=mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}
MONGO_DATABASE=mirotalk

Setup your email and app password:

EMAIL_HOST=emailHost
EMAIL_PORT=emailPort
EMAIL_USERNAME=emailUsername
EMAIL_PASSWORD=emailPassword
# Install dependencies
$ npm install
# Start the server
$ npm start
Docker
# Install docker
$ sudo apt install docker.io
# Install docker-compose
$ sudo apt install docker-compose
# Copy .env.template to .env and edit it
$ cp .env.template .env
# Build or rebuild services
$ docker-compose build
# Create and start containers (-d as daemon)
$ docker-compose up

Docker official image

Logs

# Follow the server logs
$ docker logs -f mirotalkwebrtc
API

You can check the swagger document at http://localhost:9000/api/v1/docs, or live here.

Self hosting

To self hosting this project follow this doc.

Discussions

Join with us on Discord, ask questions and post answers without opening issues.

Support

You can support MiroTalk's projects by sponsoring it. Thanks!

License

AGPLv3