Most Read This Week
Building Video Calling with @PubNub and #WebRTC | @ThingsExpo [#IoT]
Learning about video codecs, signaling, and presence is just the beginning when it comes to implementation
By: Dan Ristic
Apr. 26, 2015 03:45 AM
February 8, 2014
Building video calling apps is no small task. Learning about video codecs, signaling, and presence is just the beginning when it comes to implementation. At PubNub, we have partnered our technology with WebRTC to make integration fast and easy to build video chat software. Out of the box, our WebRTC Framework will power audio, video, and data communication between two browsers.
Want to get an idea of what it'll look like when you're finished? Take a look at our live, working demo and code walk through, or watch the video below, or keep reading.
Get Started by Installing the PubNub WebRTC SDK
Getting a List of Users to Call
In our application, every user is subscribed to one channel. This means every user can see all the other users that are currently connected. This is done easily by using a channel named "phonebook":
Currently the user data is stored in the data attributes of the element itself. This makes it easy to work with as a prototype, but could be extended to an AngularJS scope or Backbone Collection easily.
Get the User Media
Note here that the stream is stored for use in publishing to a WebRTC peer connection. When you make this call the user will have to allow your application to use the webcam. The callback will not be called until this has been done, so it may be good to notify the user that they need to allow this before moving on.
Calling a User with PubNub WebRTC
This will take care of all the use cases when calling another user:
Hanging Up a WebRTC Call
Using Other Logins
Unfortunately this just gives us an ID for each user, so if we want to tell the user who is currently available for chat they will just see the numerical representation of each user. The way we get around this limitation is by including the user name in each unique user ID. Our user names now look like "1234567-John Doe". Now we can call String.split(‘-') to get the name and the ID separated so we can show the human-readable form to the user.
WebRTC Calling In-Browser Is Amazing
The RTCPeerConnection also abstracts away much of the complexity that deals with codecs and setting up a peer connection. We at PubNub hope to see a whole new wave of communication applications on the web! Check out the demo of our video calling application here.
Cloud, Big Data, and the 'Internet of Things'
Are you ready to put your data in the cloud?
What is the future of security in the cloud?
Does Docker quickly advance the development of an IoT application?
What are the implications of Moore's Law on Hadoop deployments?
Cloud Expo / @ThingsExpo 2015 New York
Get all these questions and hundreds more like them answered at the 2015 Cloud Expo and @ThingsExpo June 9-11, 2015, at the Javits Center in New York City, and November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, California.
Our upcoming June 9-11, 2015, event in New York City will present a total of 10 simultaneous tracks (the largest conference content in the world) by an all-star faculty, over three days, plus the popular two-day "Cloud Computing Bootcamp" presented by Janakiram MSV, an analyst with the Gigaom Research analyst network where he covers the Cloud Services landscape.
Cloud and Big Data topics and tracks include: Enterprise Cloud Adoption, APM & Cloud Computing | Hot Topics, Cloud APIs & Business, Cloud Security | Mobility, and Big Data | Analytics.
@ThingsExpo content also tripled from a single track last year to three simultaneous (all sold-out) IoT tracks: Consumer IoT, Enterprise IoT, and IoT Developer | WebRTC Convergence.
Our DevOps Summit content also doubled from a single track last June to two simultaneous tracks in November: "Dev" Developer Focus and "Ops" Operations Focus.
Please check back for daily updates as we are working with our distinguished faculty members to finalize new session abstracts. If you have any questions please contact us at events (at) sys-con.com. Last but not least we will announce our keynotes to be delivered by world-class speakers on the hottest topics!
The largest 'Internet of Things' event in the world has announced "sponsorship opportunities" and "call for papers."
The 1st International Internet of @ThingsExpo was launched this June at the Javits Center in New York City with over 6,000 delegates in attendance. The 2nd International Internet of @ThingsExpo took place November 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, California, with an estimated 6,000 plus delegates attending over three days.
@ThingsExpo is co-located with 16th International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading IoT industry players in the world. In 2015, more than 200 companies will be present on the @ThingsExpo show floor, including global players and the hottest new technology pioneers.
Sponsorship and Exhibit Opportunities Are Now Available
For more information on sponsorship, exhibit, and keynote opportunities contact Carmen Gonzalez by email at events (at) sys-con.com, or by phone 201 802-3021. Book both events for additional savings!
@ThingsExpo 2015 New York (June 9-11 in New York City)
World's Top 2nd Wave Cloud and IoT Players: 2014 Sponsors and Exhibitors
Acision (Exhibitor), ActiveState (Silver), AgilePoint (Exhibitor), Ambernet (Exhibitor), Amplidata (Exhibitor), Apacer Memory America (Exhibitor), Appcore (Exhibitor), AppDynamics (Exhibitor), AppZero (Exhibitor), Aria Systems (Bronze), Automic (Gold), Avere Systems (Exhibitor), Axis Communications (Exhibitor), Basic6 (Exhibitor), Bitium (Exhibitor), BlueBox (Bronze), Brother Office (Bronze), BSQUARE (Bronze), BUMI (Exhibitor), CA Technologies (Platinum), Calm.io (Bronze), CiRBA (Bronze), Cisco (Gold), Cloudant (Exhibitor), Cloudian (Bronze), CodeFutures (Bronze), Connect2.me (Exhibitor), Connected Data (Exhibitor), CrashPlan/Code42 (Exhibitor), Creative Business Solutions (Exhibitor), Cynny Italia (Exhibitor), Dasher Technologies (Exhibitor), DEAC Data Centers (Silver), Dell (Silver), Distrix (Exhibitor), Dyn (Bronze), e-SignLive by Silanis (Exhibitor), Edgecast Networks (Platinum), ElasticBox (Exhibitor), Endstream/Open Data Centers (Exhibitor),
ESRI (Bronze), Evident.io (Exhibitor), FireHost (Bronze), Gigamon (Silver), GoodData (Bronze), Gridstore (Exhibitor), Harbinger Group (Exhibitor), HP (DevOps Track Sponsor), IAPP (Exhibitor), IBM (Platinum), IDenticard (Exhibitor), Imperva (Exhibitor), IndependenceIT (Exhibitor), Infor (Platinum), InMage (Exhibitor), Innodisk (Exhibitor), ITinvolve (Silver), iwNetworks (Exhibitor), Ixia (Exhibitor), iXsystems (Exhibitor), Jelastic (Exhibitor), MangoApps (Exhibitor), Matrix.org (Silver), MetraTech (Bronze), Microsoft (Diamond), NaviSite (Silver), Net Access Corporation (Exhibitor), NuoDB (Bronze), NY Times (Exhibitor), Objectivity (Exhibitor), OpenCrowd (Exhibitor), Oracle (Platinum Plus), OutSystems (Bronze), Parasoft (Exhibitor), Peak10 (Exhibitor), Peer 1 Hosting (Exhibitor), Pluralsight (Exhibitor), PubNub (Exhibitor), QTS Data Centers (Bronze), Quantum (Exhibitor), Qubell (Platinum), r-evolutionapp (Exhibitor), RackWare (Exhibitor), Red Hat (Bronze), RingStor (e-Bulletin Sponsor), SAP (Gold), ScaleMP (Exhibitor), Seagate (Exhibitor), SendGrid (Exhibitor), Serena Software (Exhibitor), SherWeb (Exhibitor),
SimpleECM (Exhibitor), Smartvue (Exhibitor), SOA Software (Bronze), SOASTA CloudTest (Exhibitor), SoftLayer (Gold), SoftwareAG (Exhibitor), Solgenia (Exhibitor), SPAN Systems (Exhibitor), StackIQ (Exhibitor), Stateless Networks (Exhibitor), Stratogent (Exhibitor), Telecity (Exhibitor), Telehouse (Exhibitor), Telestax (Exhibitor), Transparent Cloud Computing Consortium (Exhibitor), Ulunsoft (Exhibitor), Utimaco (Exhibitor), VASCO Data Security (Bronze), Veeam (Exhibitor), Verizon (Platinum), VictorOps (Exhibitor), Virtustream (Power Panel Sponsor), Vormetric (Bronze), Will Jaya (Exhibitor), Windstream (Silver), WSM - Website Movers International (Exhibitor), Zentera (Exhibitor), Zerto (Exhibitor)
Secure Your VIP Pass to Attend @ThingsExpo New York 2015
To take advantage of this opportunity, attendees can use the special "coupon code" on the registration page and secure their "@ThingsExpo Plus" registration to attend all keynotes and general sessions, as well as a limited number of technical sessions each day of the show, in addition to full access to the expo floor and the @ThingsExpo hackathons throughout the week.
The registration page is located at the @ThingsExpo site here.
@ThingsExpo New York 2015 'Call for Papers' Now Open
Track 1 - Consumer IoT and Wearables: Smart Appliances, Wearables, Smart Cars, Smartphones 2.0, Smart Travel, Personal Fitness, Health Care, Personalized Marketing, Customized Shopping, Personal Finance, The Digital Divide, Mobile Cash & Markets, Games & the IoT, The Future of Education, Virtual Reality
Track 2 - Enterprise IoT: The Business Case for IoT, Smart Grids, Smart Cities, Smart Transportation, The Smart Home, M2M, Authentication/Security, Wiring the IoT, The Internet of Everything, Digital Transformation of Enterprise IT, Agriculture, Transportation, Manufacturing, Local & State Government, Federal Government
Track 3 - IoT Developer | WebRTC Convergence: WebRTC, Eclipse Foundation, Cloud Foundry, Docker & Linux Containers, Node-Red, Open Source Hardware, Leveraging SOA, Multi-Cloud IoT, Evolving Standards, WebSockets, Security & Privacy Protocols, GPS & Proximity Services, Bluetooth/RFID/etc., XMPP, Nest Labs
Download @ThingsExpo Newsletter Today ▸ Here
Chris Matthieu Named @ThingsExpo Tech Chair
Internet of @ThingsExpo named Chris Matthieu tech chair of Internet of @ThingsExpo 2014 Silicon Valley.
Chris Matthieu has two decades of telecom and web experience. He launched his Teleku cloud communications-as-a-service platform at eComm in 2010, which was acquired by Voxeo. Next he built an open source Node.JS PaaS called Nodester, which was acquired by AppFog. His latest startups include Twelephone. Leveraging HTML5 and WebRTC, Twelephone's BHAG (Big Hairy Audacious Goal) is to become the next generation telecom company running in the Web browser. Chris is currently co-founder and CTO of Octoblu.
CEO Power Panel in Silicon Valley Examined Agility, Cloud, Big Data, and the 'Internet of Things'
Things are being built upon cloud foundations to transform organizations. This CEO Power Panel at 15th Cloud Expo, moderated by Roger Strukhoff, Cloud Expo and @ThingsExpo conference chair, addressed the big issues involving these technologies and, more important, the results they will achieve. Rodney Rogers, chairman and CEO of Virtustream; Brendan O'Brien, co-founder of Aria Systems, Bart Copeland, president and CEO of ActiveState Software; Jim Cowie, chief scientist at Dyn; Dave Wagstaff, VP and chief architect at BSQUARE Corporation; Seth Proctor, CTO of NuoDB, Inc.; and Andris Gailitis, CIO of DEAC, discussed how important public, private, and hybrid cloud are to the enterprise. How does one define Big Data? And how is the IoT tying all this together?
About SYS-CON Media & Events
Cloud Expo®, Big Data Expo® and @ThingsExpo® are registered trademarks of Cloud Expo, Inc., a SYS-CON Events company.
Reader Feedback: Page 1 of 1
Subscribe to the World's Most Powerful Newsletters
Today's Top Reads