MiroTalk P2P - Open Source Self-Hosted WebRTC P2P Video Conferencing
Open Source Peer-to-Peer Video Conferencing You Can Self-Host in Minutes
Free, Secure, Fast Real-Time Communication - up to 8K, 60fps. Works in All Browsers and Platforms.
MiroTalk P2P is a self-hosted, open-source video conferencing platform using direct peer-to-peer WebRTC connections for fast, secure, real-time communication. Deploy on your own server in minutes. Enjoy unlimited rooms, no time limits, end-to-end privacy, and a rich feature set - all under your control.
Try Live Demo · Privacy · Documentation · Discord · Sponsor
Proudly sponsored by
Recall.ai - API for meeting recording
An API for recording Zoom, Google Meet, Microsoft Teams, and in-person meetings.
✨ Why MiroTalk P2P?
| | MiroTalk P2P | Other Solutions | | ------------------ | ---------------------------------------------------------------------------------------------------- | --------------------------- | | 💰 Cost | Free & Open Source (AGPLv3). One-time fee licenses available | Paid plans | | 🏠 Self-hosted | ✅ Full control over your data | ❌ Cloud only | | 🔒 Privacy | Your server, your rules | Third-party data processing | | ⏱️ Time limits | Unlimited | 40-60 min on free tiers | | 🏢 Rooms | Unlimited concurrent rooms | Limited | | 🎥 Resolution | Up to 8K @ 60fps | Up to 1080p | | 🌍 Languages | 133 languages | ~30-80 | | 🔌 API | Full REST API included | Paid add-on | | 🤖 AI Features | ChatGPT (OpenAI) integration | Paid AI add-ons | | 🧩 Rebrand | Full source code, white-label ready | Limited branding options | | 📦 Deploy | Docker, Node.js, one-click install | N/A (SaaS only) |
🚀 Features
- 🎥 Video up to 8K @ 60fps · Screen sharing · Recording · Picture-in-Picture
- 💬 Chat with Markdown, emoji & optional GIF search (KLIPY) · Collaborative whiteboard · Shared P2P editor · Live polls & quizzes · Breakout rooms · File sharing
- 🤖 ChatGPT (OpenAI) integration · Speech recognition · Voice commands
- 🔒 OIDC auth · Host protection · JWT credentials · Room passwords · Lobby · Peer-to-peer encryption
- 🔌 REST API · Slack & Mattermost · Embeddable iframe & widget · 133 languages
⚡ Quick start
Start in 6 commands:
git clone https://github.com/miroslavpejic85/mirotalk.git
cd mirotalk
cp .env.template .env
cp app/src/config.template.js app/src/config.js
npm install
npm start
Open http://localhost:3000 - done!
🐳 Docker
Prerequisites: Install Docker Engine and Docker Compose - Image available on Docker Hub
git clone https://github.com/miroslavpejic85/mirotalk.git
cd mirotalk
cp .env.template .env
cp app/src/config.template.js app/src/config.js
cp docker-compose.template.yml docker-compose.yml
docker-compose pull # optional: pull official image
docker-compose up # add -d to run in background
Open http://localhost:3000 - done!
Note:
Editapp/src/config.js,.env, anddocker-compose.ymlto customize your setup.
🖼️ Camera backgrounds
In Settings > Video > Background, select Off, Blur, or Image. Local PNG, JPEG, and WebP images up to 10 MB are processed in your browser and are not uploaded. Effects appear in your camera preview, outgoing camera video, and camera recordings. Screen sharing remains unaffected, including when sharing your camera and screen together.
Background controls are also available in prejoin and the quick video menu. Select Image, then use the file picker (or Choose image in the quick video menu) to choose or replace an image. The selected filename stays synchronized between prejoin and Video settings.
Effect output is capped at 1280 x 720 and follows the camera frame rate (up to 30 FPS), or 15 FPS when effects fall back to the main thread. Off uses the original camera track without processing. Performance varies by device; background tabs may throttle rendering.
🎯 Auto framing
Turn on Settings > Video > Auto framing (also in prejoin and the quick video menu) to keep you centered in the frame as you move, with or without a camera background. Faces are found in your browser with the MediaPipe Face Detector (about 1 MB, downloaded on first use); no video leaves your device for processing.
The camera is cropped with a head-and-shoulders zoom (at most 2x, 1.6x on phones), in the same aspect ratio. When several people are in view, everyone is kept in the frame. Small moves don't move the frame, bigger ones are eased smoothly, and when nobody is in view the frame zooms back out after a moment. The choice is remembered for your next meetings and only applies to your own camera.
📚 Documentation
For detailed guides and references, visit the official documentation:
- Our Story
- About
- Self-Hosting Guide
- Automation-scripts
- Configurations
- Rebranding
- Host Protection Mode
- Integration
- Direct Room Join
- REST API Documentation
- Ngrok
- Updates
- WebHook
☁️ Recommended Hosting Providers
| Provider | Description | Link |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| | One-click install from the Cloudron App Store. Automates deployment, updates, backups, and user management. | Get Started |
|
| High-performance cloud servers and dedicated root servers with top-tier reliability. Powers our live demo. | Explore Hetzner |
|
| Enterprise-grade performance at unbeatable prices. Scalable and reliable. | Explore Netcup |
|
| Fast, reliable hosting with 24/7 support and great performance. | Check out Hostinger |
|
| Top-tier German hosting, dedicated servers, VPS, and web hosting at unbeatable prices. | Explore Contabo |
To set up your own instance of MiroTalk P2P on a dedicated cloud server, please refer to our comprehensive self-hosting documentation.
🙏 Credits
- ianramzy (html template)
- vasanthv (webrtc-logic)
- fabric.js (whiteboard)
- Quill (editor)
- DiceBear (random avatars)
- Image by ddraw on Freepik (avatar illustrations)
🤝 Contributing
Contributions are welcome and greatly appreciated! Whether it's bug fixes, features, or documentation - every contribution helps.
- Fork the repository
- Create your feature branch
- Run
npm run lint&npm run testbefore committing - Submit a pull request
📄 License
MiroTalk P2P is free and open-source under the terms of AGPLv3 (GNU Affero General Public License v3.0). Please respect the license conditions, In particular modifications need to be free as well and made available to the public. Get a quick overview of the license at Choose an open source license.
To use MiroTalk P2P in a closed-source, rebranded, or commercial product, get a one-time fee license from the MiroTalk P2P page:
- Regular License: private source code and rebranding for one end product where end users are not charged.
- Extended License: private source code and rebranding for one end product where end users can be charged for access.
❤️ Support the project
Do you find MiroTalk P2P indispensable for your needs? Join us in supporting this transformative project by becoming a backer or sponsor. By doing so, not only will your logo prominently feature here, but you'll also drive the growth and sustainability of MiroTalk P2P. Your support is vital in ensuring that this valuable platform continues to thrive and remain accessible for all. Make an impact - back MiroTalk P2P today and be part of this exciting journey!
| | | |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
| |
|
|
|
|
|
|
|
|
|
|
|
| | |
🙏 Past Sponsors
We are grateful to our past sponsors for their support!
| | | |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------- |
| |
|
|
|
| | |
📢 Advertisers
| | | |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| |
|
|
✨ EffectsSDK
Enhance your video conferencing with advanced virtual backgrounds and noise suppression. EffectsSDK offers powerful SDKs and plugins for fast integration.
- 🎥 AI Video Effects Extension: Virtual backgrounds and effects for your webcam
- 🔊 Noise Cancelling Extension: Clearer audio with background noise reduction
- 🛠️ Integrate EffectsSDK: SDKs and plugins for custom solutions
This project is tested with BrowserStack.
🌐 Explore the full MiroTalk suite (SFU, P2P, BRO, C2C, WEB, CME, ADM) → MiroTalk Overview
Built with ❤️ by Miroslav and the open-source community
Contributors
Thanks to all the amazing people who have contributed to MiroTalk P2P 💙