MiroTalk P2P

WebRTC - P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 4k an...

README

#

MiroTalk P2P

Free WebRTC - P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 4k and 60fps, compatible with all browsers and platforms.


p2p.mirotalk.com



Features

-   Is 100% Free - Open Source - Self Hosted and PWA!
-   No download, plug-in, or login required, entirely browser-based
-   Unlimited number of conference rooms without call time limitation
-   Translated in 133 languages
-   Possibility to Password protect the Room for the meeting
-   Desktop and Mobile compatible
-   Optimized Room URL Sharing (share it to your participants, wait for them to join)
-   Webcam Streaming (Front - Rear for mobile)
-   Audio Streaming crystal clear with detect speaking and volume indicator
-   Screen Sharing to present documents, slides, and more...
-   File Sharing (with drag-and-drop), share any files to your participants in the room
-   Select Audio Input - Output && Video source
-   Ability to set video quality up to 4K and 60 FPS
-   Recording your Screen, Audio and Video
-   Snapshot the video frame and save it as image png
-   Chat with Emoji Picker to show you feeling, private messages, Markdown support, possibility to Save the conversations, and many more
-   Speech recognition to send the speeches
-   Advance collaborative whiteboard for the teachers
-   Share any YT Embed video, video mp4, webm, ogg and audio mp3 in real-time
-   Full-Screen Mode on mouse click on the Video element
-   Possibility to Change UI Themes
-   Right-click on the Video elements for more options
-   Direct peer-to-peer connection ensures the lowest latency thanks to WebRTC
-   Supports REST API (Application Programming Interface)
-   Slack API integration
-   Sentry error reporting

About


-   Video

Start videoconference

-   Open https://p2p.mirotalk.com/newcall or
-   https://mirotalk.up.railway.app/newcall or
-   https://mirotalk.herokuapp.com/newcall
-   Pick your Room name and Join
-   Allow using the camera and microphone
-   Share the Room URL and Wait for someone to join for the video conference

Direct Join

-   You can join directly to room by going to:
-   https://p2p.mirotalk.com/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0
-   https://mirotalk.up.railway.app/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0
-   https://mirotalk.herokuapp.com/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0

ParamsTypeDescription
----------------------------
roomstringroom
namestringuser
audiobooleanaudio
videobooleanvideo
screenbooleanscreen
notifybooleanwelcome

Embed a meeting

Embedding a meeting into a service or app using an iframe.

  1. ``` html
  2. <iframe
  3.     allow="camera; microphone; fullscreen; display-capture; autoplay"
  4.     src="https://mirotalk.herokuapp.com/newcall"
  5.     style="height: 100%; width: 100%; border: 0px;"
  6. </iframe>
  7. ```

Quick start

-   You will need to have Node.js installed, this project has been tested with Node versions 12.X, 14.X and 16.X.

  1. ``` sh
  2. # clone this repo
  3. $ git clone https://github.com/miroslavpejic85/mirotalk.git
  4. # go to mirotalk dir
  5. $ cd mirotalk
  6. # copy .env.template to .env (edit it according to your needs)
  7. $ cp .env.template .env
  8. # install dependencies
  9. $ npm install
  10. # start the server
  11. $ npm start
  12. ```

-   Open http://localhost:3000 in browser

Docker

docker

-   Install docker engine: https://docs.docker.com/engine/install/
-   Install docker compose: https://docs.docker.com/compose/install/
-   Repository docker hub: https://hub.docker.com/r/mirotalk/p2p

  1. ``` sh
  2. # copy .env.template to .env (edit it according to your needs)
  3. $ cp .env.template .env
  4. # Get official image from Docker Hub
  5. $ docker pull mirotalk/p2p:latest
  6. # create and start containers
  7. $ docker-compose up # -d
  8. # to stop and remove resources
  9. $ docker-compose down
  10. ```

-   Open http://localhost:3000 in browser

Ngrok - Https

You can start videoconferencing directly from your Local PC, and be reachable from any device outside your network, simply by reading these documentation, or expose it directly on HTTPS

Stun & Turn

You can Check here, if you are full covered by the MiroTalk default IceServers (Stun & Turn).

If not, you can change it in the .env file and test it by the URL eg:

  1. ``` html
  2. https://p2p.mirotalk.com//test?iceServers=[{"urls":"stun:stun.l.google.com:19302"},{"urls":"turn:openrelay.metered.ca:443","username":"openrelayproject","credential":"openrelayproject"}]
  3. ```

Rest API

  1. ``` sh
  2. # The response will give you a entrypoint / Room URL for your meeting, where authorization: API_KEY_SECRET.
  3. $ curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
  4. $ curl -X POST "https://p2p.mirotalk.com/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
  5. $ curl -X POST "https://mirotalk.up.railway.app/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
  6. $ curl -X POST "https://mirotalk.herokuapp.com/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
  7. ```

API Documentation


The API documentation uses swagger at http://localhost:3000/api/v1/docs. Or check it out on live & heroku.

Hetzner
Hetzner

This application is running for demonstration purposes on Hetzner, one ofthe best cloud providers and dedicated root servers.

Use this link to receive€⁠20 IN CLOUD CREDITS on Hetzner.

If you need help to deploy MiroTalk P2P instance on your dedicated cloud server, or for other needs, don't hesitate to contact us at p2p.mirotalk@gmail.com

Live Demos

https://p2p.mirotalk.com
hetzner-qr


https://mirotalk.up.railway.app
railway-qr

Heroku Deploy

https://mirotalk.herokuapp.com
heroku-qr

If you want to deploy a MiroTalk P2P instance on your dedicated server, or for other needs, don't hesitate to contact us at p2p.mirotalk@gmail.com.

Self Hosting

To Self-Host MiroTalk P2P on Your dedicated Server, read this documentation.

Credits

-   ianramzy (html template)
-   vasanthv (webrtc-logic)
-   fabric.js (whiteboard)

Contributing

-   Contributions are welcome and greatly appreciated!
-   Just run before npm run lint

Questions, Discussions and support

-   For questions, discussions, help & support, join with us on Discord

License
AGPLv3

MiroTalk is free and can be modified and forked. But the conditions of the AGPLv3 (GNU Affero General Public License v3.0) need to be respected. 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.

For a MiroTalk license under conditions other than AGPLv3, please contact us at license.mirotalk@gmail.com or buy directly via CodeCanyon.

Support the project

Do you find MiroTalk useful?

Support the project by becoming a backer or sponsor. Your logo will show up here with a link to your website.
BroadcastX
Hetzner
LuvLounge

MiroTalk SFU

Try also MiroTalk SFU, the difference between the two projects you can found here.