Build

Building WebRTC Filesharing with PubShare

Michael Carroll on Jul 23, 2013
Building WebRTC Filesharing with PubShare

A couple of weeks ago, we announced our WebRTC SDK, expanding our ever-growing list of PubNub supported SDKs. This API makes incorporating WebRTC into a PubNub enabled app straightforward and simple.

In addition to the new SDK, we introduced a prototype WebRTC demo called PubShare, just one example of what can be done with our new WebRTC API. We now have a full WebRTC file sharing tutorial and demo so you can get a better idea about what goes into a PubNub+WebRTC application.

webrtc filesharing

The two most important bits of information are how to gain access to our API and how to start using it in your code. Our WebRTC API is available onGitHub, and core PubNub is available from our CDN.

You’ll first need to sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys in the PubNub Developer Portal.

webrtc filesharingPubNub Channel Presence allows users to see who is available to share and receive files. Additionally, we use PubNub to send simple signals to alert users when someone is requesting to share a file, and when someone accepts or rejects a share request.

We'll walk you through all the steps and supply the code to build your own fileshare app using PubNub and WebRTC. Everything you need is available in the full PubShare tutorial and working demo app here.

Get Started
Sign up for free and use PubNub to power
WebRTC filesharing