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;

Supported Platforms

The component supports the following Platforms:

Delphi   CBuilder Lazarus    .NET