Build

Building WebRTC Filesharing with PubShare

2 min read Michael Carroll on Jul 23, 2013
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

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. ...

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

More from PubNub

NPP and HIPAA: Notice of Privacy Practices Definition
Healthcare CategoryJan 6, 20235 min read

NPP and HIPAA: Notice of Privacy Practices Definition

A Notice of Privacy Practices (NPP) is one of the requirements of HIPAA and helps patients understand their personal data rights.

Michael Carroll

Michael Carroll

HIPAA Technical Safeguards: How To Protect Sensitive Data
Healthcare CategoryJan 5, 20236 min read

HIPAA Technical Safeguards: How To Protect Sensitive Data

HIPAA covered entities must follow the five technical safeguards to achieve HIPAA compliance and prevent data corruption.

Michael Carroll

Michael Carroll