Protocol
WebRTC
Web Real-Time Communication
WebRTC (Web Real-Time Communication) is a free, open-source project that provides web browsers and mobile applications with real-time communication (RTC) via simple application programming interfaces (APIs). It allows audio and video communication to work inside web pages by allowing direct peer-to-peer communication, eliminating the need to install plugins or download native apps.

Standard

Supported by Google, Mozilla, and Opera, WebRTC is being standardized through the World Wide Web Consortium (W3C) and the Internet Engineering Task Force (IETF).

Wide

Its mission is to enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices.

Applications

Build WebRTC Applications for: Secure Video Monitoring, Shared live media streaming, Video conversations with experts, Interactive online gaming...

Create Server

// Create websocket server
oServer := TsgcWebSocketServer.Create(nil);
oServer.Port := 80;

// Create WebRTC protocol and assign to websocket server
oWebRTC := TsgcWSPServer_WebRTC.Create(nil);
oWebRTC.Server := oServer;

// Handle Server methods
oWebRTC.OnConnect := OnWebRTCConnectHandler;
oWebRTC.OnMessage := OnWebRTCDisconnectHandler;

// start server
oServer.Active := True;

WebRTC is a set of JavaScript APIs that allow organizations and developers to add Real Time Communications (RTC) features to their browser applications without having to deal with the inherent complexities of requiring downloads or plugins to use them.
Many of the devices we use on a daily basis - mobile phones, tablets, smart TVs, some desk phones, personal computers, and in the not-so-distant future, wearable technologies - are connected to the Internet. With WebRTC, all of these devices can exchange voice, video, and real-time data seamlessly between one another on a common platform.