WebRTC - Web Conferences and Streaming video

WebRTC (Web Real-Time Communication), is a technology built into modern browsers that allows media (such as Audio and video, screens and text) to be shared between different systems. It enables peer-to-peer communication between browsers without the need to install any software. WebRTC works on Windows, Apple, Linux systems, and smartphones; using Chrome, Firefox, or Edge.

It can live stream to a website, which can then distribute the video to any number of viewers. And, it can be used for gaming in a multi-user game.

WebRTC shares technology with voice-over IP, skype, and telephone calls over the Internet. It facilitates quick and low-latency communication between various systems.

A server or host helps to facilitate a tunnel through firewalls using Stun or Turn on the server, these are the same technologies used for tunneling a firewall for telephone services.

WebRTC Media Servers

A WebRTC server would act like a peer to read a live video stream and then act like a website to feed the stream over the internet to any number of viewers. Such as Ant Media and Youtube Live.

The benefit of self-hosting a media server is branding and ownership of the streaming video. On Youtube, you must compete with other channels that may use clickbait titles and other tricks to dilute your message.

WebRTC Game Servers

Games also need RTC and the protocol of TCP takes several trips between the system and the server. While UDP can use only one trip. Game engines such as Godot are including support for WebRTC out of the box.