MiroTalk P2P
Self-hosted WebRTC meetings for private calls and small groups. Participants exchange encrypted media directly when networks permit, keeping routine media forwarding off the application server.
Try the live demo Self-host MiroTalk P2P View product page

How P2P works
MiroTalk P2P uses a mesh: each participant sends media to every other participant. The application server coordinates signaling and rooms; a TURN server can relay encrypted packets when a direct path cannot be established.
| Responsibility | Participant device | Application infrastructure |
|---|---|---|
| Media | Sends and receives peer streams | Does not normally forward media |
| Room growth | Uplink, downlink, CPU, and rendering increase | Signaling load grows more gradually |
| Restricted networks | Uses a direct path when possible | TURN relays media when required |
| Trust boundary | Participants are media endpoints | Signaling and optional relay remain server-side |
P2P is best when privacy, direct media paths, and modest infrastructure matter more than large-room scalability.
Compare product architectures Read about STUN and TURN
Meeting capabilities
- Audio, webcam, and screen sharing
- Group and private chat, reactions, and file transfer
- Collaborative whiteboard and local recording
- Host protection and direct room links
- Responsive browser interface without a required plugin
Feature availability can depend on configuration and release. Follow the linked guides for current options.
Build with P2P
| Goal | Documentation |
|---|---|
| Create rooms programmatically | REST API |
| Embed calls in a site | Iframe and widget integration |
| Build direct room URLs | Room join options |
| Receive room lifecycle events | Webhooks |
Self-host and operate
| Stage | Documentation |
|---|---|
| Install | Self-hosting guide |
| Configure | Configuration reference |
| Protect hosts | Host protection |
| Update safely | Update guide |
| Develop locally | Ngrok guide |
| Customize branding | Rebranding guide |
TURN changes operating cost
Direct P2P media reduces routine server bandwidth, but restrictive networks may require TURN relay traffic. Test your expected browser, network, and room mix.
Licensing and support
Use the official licensing page as the source of truth for commercial requirements.
Compare licensing options Review the P2P commercial package Contact MiroTalk Enterprise