Company
Date Published
Author
Michael Carroll
Word count
446
Language
English
Hacker News points
None

Summary

PubNub has recently expanded its range of supported SDKs by introducing its new WebRTC SDK, designed to simplify the integration of WebRTC into applications enabled by PubNub. Alongside the SDK, PubNub has launched a prototype demo called PubShare to showcase the capabilities of the WebRTC API, and it provides a comprehensive tutorial and demo of WebRTC file sharing to help developers understand how to create PubNub+WebRTC applications. To access the API, developers must sign up for a PubNub account to obtain unique keys via the PubNub Developer Portal. The WebRTC API is hosted on GitHub, while the core PubNub service is accessible from its CDN. PubNub Channel Presence facilitates user visibility for file sharing, and signals are used to notify users of file sharing requests and responses. The tutorial offers step-by-step guidance and all necessary code to build a custom file-sharing application using PubNub and WebRTC.