Jump to: navigation, search


Genesys WebRTC Service provides web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs. This means you can write rich, real-time multimedia applications—such as video chat—on the web, without requiring plug-ins, downloads, or installs. Genesys WebRTC Service is able to do this by using the Web Real-Time Communications technologies that have been developed by the World Wide Web Consortium and the Internet Engineering Task Force.

The key component of Genesys WebRTC Service is the Genesys WebRTC Gateway. The Gateway converts WebRTC communications to SIP, allowing for the seamless integration of WebRTC-capable devices into a SIP-based infrastructure—in particular, an architecture that uses Genesys SIP Server. From that perspective, the WebRTC Gateway plays the role of a Media Gateway / Session Border Controller.

All calls that have been initiated or received by a browser, including browser-to-browser calls, are bridged through the Gateway. This is done to ensure that every call is handled by SIP Server as a SIP call, so that all of the core Genesys features—including routing, treatments, and IVR—can be provided by SIP Server.


Genesys WebRTC Service uses peers to communicate streams of data. But it also needs a signaling mechanism to send control messages between peers. Signaling proceeds like this:

  1. Caller sends offer.
  2. Callee receives offer.
  3. Callee sends answer.
  4. Caller receives answer.

Once the signaling process has completed successfully, data can be streamed directly, peer to peer, between the caller and callee, as shown in the following diagram, or via an intermediary server.

WebRTC Basic Architecture.png

WebRTC Protocols

The following protocols are used in the Genesys WebRTC Service environment:

WebRTC Protocols.png

Component Perspective

The following simplified diagram shows the media gateway architecture by which Genesys WebRTC Service interoperates with SIP Server and the Browser. There is an HTTP connection between the Browser and the WebRTC Gateway, and this is used for signaling purposes, where the gateway acts as an HTTP server. The Web application, however, needs to be installed on a regular Web Server.

WebRTC Component Perspective.png

Basic Call Flow

Here is the basic call flow for a WebRTC call:

WebRTC Basic Call Flow.png

This page was last edited on April 27, 2018, at 03:41.
blog comments powered by Disqus