Signaling to establish the peer-to-peer connection and coordinate communication
Transfer metadata pre-call
Provide a server for WebRTC
Stream video and audio
Provide 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.
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.
var session = phone.dial('123-456');
phone.receive(function(session){ // On Call Receiving });
phone.receive(function(session){ session.connected(function(session){ // Append Live Video and Voice Feed $('#display-div').append(session.video); }); });
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 real time.
Using PubNub and a hosted WebRTC solution, there are a plethora of important and useful applications which may be built. Some ideas:
Amazon Mayday Help Button
Salesforce SOS Help Button
WebRTC Skype Replica
Traditional Phone Replacement
Chatroulette
VoIP Replacement
Facetime
Inbound Sales Calls
Easy Remote Meetings
Call Assistant or Specialists
Big Screen Public Announcement
Live Presentations
Need help? Contact PubNub Support.