WebRTC Video Chat Signaling

Let PubNub be your signal protocol service, and combine it with a hosted WebRTC solution for reliable and fast video/audio, all in the browser.

What PubNub Does

  • Signaling to establish the peer-to-peer connection and coordinate communication
  • Transfer metadata pre-call

What PubNub Doesn’t Do

  • Provides a server for WebRTC
  • Stream video and audio
  • Provides a full hosted WebRTC solution or SDK
  • Record and store the video/audio stream

For more details on what we do, and what we don’t do, check out this article.

The following demo uses PubNub for signaling to transfer the metadata and establish the peer-to-peer connection. Once the connection is established, the video and voice runs on public Google STUN/TURN servers.

Basic Concepts of WebRTC Calling

Our demo utilizes PubNub Pub/Sub Messaging to allow users to dial (publish) and receive (subscribe) WebRTC phone calls. To add voice and video live stream, we used JavaScript and a Google public STUN server.

Making a WebRTC phone Call

Receiving a WebRTC phone Call

Adding Voice and Video Live Stream

What Can you build with a WebRTC Simple Calling API?

There are a plethora of important and useful applications which may be built using PubNub and a hosted WebRTC solution. A couple ideas:

There are many applications for WebRTC with more to be discovered soon. With the wide-spread support and availability of WebRTC on the web and full mobile support there’s good reason to get started with WebRTC as your voice/video streaming solution for users who will be communicating in realtime.

  1. Amazon Mayday Help Button
  2. Salesforce SOS Help Button
  3. WebRTC Skype Replica
  4. Traditional Phone Replacement
  5. Chatroulette
  6. VoIP Replacement
  7. Facetime
  8. In-bound Sales Calls
  9. Easy Remote Meetings
  10. Call Assistant or Specialists
  11. Big Screen Public Announcement
  12. Live Presentations

Try PubNub Today

Try Our APIs
  • 1M Transactions
  • 1GB Data Persistence
  • All major Features