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.
LIVE DEMO
⭐️⭐️⭐️⭐️⭐️
Description
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.
Necessities
- Nodejs & npm.
- Non-obligatory docker and docker-compose.
- Non-obligatory coturn.
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:
- Broadcast: https://bro.mirotalk.com/broadcast?id=123&name=Broadcaster
- Viewer: https://bro.mirotalk.com/viewer?id=123&name=Viewer
Embedding
Embed MiroTalk Live Broadcast as a service, in any web site or app utilizing an easy iframe and some traces of code.
<iframe enable="digicam; microphone; show-seize; fullscreen; clipboard-learn; clipboard-write; autoplay" src="https://bro.mirotalk.com" type="peak: 100%; width: 100%; border: 0px;" ></iframe>
Documentations
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
https://hetzner.cloud/?ref=XdRifCzCK3bn
Assist
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!