MiroTalk BRO – WebRTC P2P Live Broadcast

IMPORTANT: Please use the stay demo to check the actual app as an alternative of stay preview as some performance are blocked by envato iframe.





MiroTalk WebRTC Live broadcasting includes the actual-time transmission of audio, video, and knowledge streams from a broadcaster to a number of viewers. As an alternative of counting on a centralized server to distribute the stream to viewers, WebRTC allows a direct connection between the broadcaster and every viewer. This method provides a number of benefits, comparable to decrease latency, scalability, and lowered infrastructure prices.

Can deal with limitless rooms, with out time limitations, every having a broadcast and plenty of viewers.


Fast Begin

Begin the app utilizing nodejs

# Copy .env.template in .env and edit it if wanted
$ cp .env.template .env

# Set up dependencies
$ npm set up

# Run the app
$ npm begin

Begin the app utilizing docker and docker-compose

# Copy .env.template in .env and edit it if wanted
$ cp .env.template .env

# Copy docker-compose.template.yml in docker-compose.yml and edit it if wanted
$ cp docker-compose.template.yml docker-compose.yml

# Constructing the picture
$ docker-compose construct

# Run the picture in a container
$ docker-compose up #-d

The server ought to now be operating in your http://localhost:3016, you possibly can select if be a part of room as a Broadcaster or Viewer.

Server is operating {
  dwelling: 'http://localhost:3016',
  broadcast: 'http://localhost:3016/broadcast?id=123&title=Broadcaster',
  viewer: 'http://localhost:3016/viewer?id=123&title=Viewer'

The Broadcaster stream the audio, video or display screen to all linked viewers and may obtain messages from them.

The Viewer get the audio, video or display screen that’s streamed from the broadcaster and may ship messages to it.

Direct Be a part of

You may direct be a part of room as broadcaster or viewer specifying the room id and your title ex:


Embed MiroTalk Live Broadcast as a service, in any web site or app utilizing an easy iframe and some traces of code.

    enable="digicam; microphone; show-seize; fullscreen; clipboard-learn; clipboard-write; autoplay" 
    type="peak: 100%; width: 100%; border: 0px;" 


The documentations you possibly can discovered within the docs folder of the venture

  • coturn.md – methods to set up your individual Stun/Flip.
  • ngrok.md – methods to expose the app out of your native computer in https.
  • self-internet hosting.md – methods to self host the venture by yourself server, vds or vps.

If you happen to not have your individual server, i like to recommend Hetzner (CPX11 it’s sufficient, OS: Ubuntu 20.04 LTS / 22.04.1 LTS). A site or subdomain title that time to Your Server public IPv4.

Use my private hyperlink to obtain €⁠ 20 in cloud credit



Thanks for buying my merchandise. When you have any questions, please be at liberty to electronic mail by way of my person web page contact kind here. Thanks a lot!

Leave a Reply

Your email address will not be published.