We recommend checking out our updated WebRTC video chat tutorial.
WebRTC is a big bundle of open source technology. Are you planning on building Skype-like apps on web and mobile iOS/Android? WebRTC makes it easy for you to create new types of voice and video chat applications that require audio or video streaming. Even better, WebRTC allows you to connect two users Peer-to-Peer. You can check out our What is WebRTC overview here for a general overview of the technology. In this blog post, we’ll be diving into the video and voice side of things, and walk you through building a WebRTC video and voice chat application.
This style of connectivity is phenomenal for business saving on the traditional middle-man server bandwidth costs. The full WebRTC package includes P2P, Data Streaming, Video and Audio Codecs for transmission of live conversations between one or more peers. WebRTC also includes the mechanisms for P2P (Peer-to-Peer) connectivity via common STUN to generate network topology route ICE candidates (Interactive Connectivity Establishment).
Yes! WebRTC is easy to use and great for mobile and web app development. But it is even easier to use for mobile and web apps if you use the PubNub WebRTC SDK. We built a WebRTC SDK for you to make it super easy.
At PubNub we believe simplicity is essential for our SDK usability. We’ve taken a simplified approach to WebRTC Peer Connections by creating and easy-to-use SDK for developers. Simplicity should be included in all platforms and devices. That’s why we support Android WebRTC mobile calling with compatibility for iOS native Objective-C based WebRTC SDK.
Our simple free developer WebRTC SDK is powered by PubNub Data Stream Network for High-replication Signaling via Data Streams, Call Presence Connectivity Detection, Phone API for Mobile Push Notifications, Call Event Logging Storage and Playback and Call Access Control Management.
The basics of WebRTC Voice and Video calling has been simplified for your mobile app development ease. We’ve created simple calling methods which match that of a standard telephony calling systems. Use the
phone.dial()method for starting a call and
phone.receive() method to receive the call.
Those are some of the basics. But you’ll want to use a lot more features that are documented on the GitHub WebRTC Documentation readme file. Some extra features include Multi-party Calling and a simple
phone.hangup() disconnect session method when you’re done with your conversation.
We’ve got a live WebRTC Video and Voice Chat Application demo here.
A WebRTC SDK implementation reference has been built for you to help surface some of the SDK feature use cases. You may be interested in the insta-frame snapshot feature which allows you to transmit and capture the raw image video feed output into an
<img> DOM element. Or you may want to know how WebRTC Dialing has been simplified for you.
We’ve created a simple dialer and reciever app that works on Android and WebRTC Supported browsers. This app demonstrates some of the WebRTC SDK capabilities including some of the following WebRTC Features:
There are a plethera of important and useful applications which may be built using the PubNub WebRTC Calling SDK. I have cataloged a list of ideas for WebRTC Use Cases:
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. From WebRTC Screen Sharing toWebRTC Facetime the applications to build for user connectivity seem to be in the boundless realm.
There are common underlying technologies for a dating app, and in this post, we’ll talk about the major technologies and designs...