• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
End of the world presentation

End of the world presentation



What is WebRTC and How Does it Work?

What is WebRTC and How Does it Work?



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    End of the world presentation End of the world presentation Presentation Transcript

    • WebRTCThe End Of The World (As We Know It)
    • WelcomeTo The Beginning Of The Post-Telephony Era
    • I’m SteveSteve Sokol, Entrepreneur In Residence / Director of Strategic Programs at Digium
    • What is WebRTC?
    • Photo Credits: Tom Keating - TMC.net, Eric Hernaez - Netsapiens
    • How does it work?
    • ❖ WebRTC leverages existing VoIP technologies❖ WebRTC exposes communications development to the 20M web developers in the world❖ WebRTC sets rules for media, leaves signaling up to the application developer
    • WebRTC Call In A Nutshell❖ Get media streams from camera, mic❖ Create an “offer” session description❖ Send the offer to the far-end party❖ Receive an “answer” session description from the far-end party❖ Discover a path that works by testing all paths
    • Web Browser et ck So eb P) W or g (SD P) TP lin SD HT igna g( rS lin ffe na O Sig er sw An SRTP Media StreamsWeb Server P) SD g( lin P) na Sig ( SD er ng et ali ck Web Browser sw ign So An rS eb ffe W O or TP HT
    • Web Server Sig g lin na na lin Sig g SRTP Media Streams Media Server Gateway PBXWeb Browser
    • New JavaScript APIs❖ Media Capture❖ Peer-To-Peer Networking
    • Creating A Connection❖ Built-In NAT Traversal using ICE❖ STUN - Discover network details❖ TURN - Relay as last resort
    • Encoding Media❖ Audio Codecs ❖ Mandatory: Opus, G.711 ❖ Optional Codecs❖ Video Codecs
    • Encrypting Media❖ Mandatory❖ Secure Realtime Protocol (SRTP)❖ SDES vs. DTLS-SRTP Key Brokering
    • What About Signaling?❖ No mandatory protocol or mechanism❖ Can be done using SIP or Jingle using JavaScript libraries❖ Can be done better using other methods: ❖ WebSockets or XMLHttpRequest transport ❖ Simple JSON signaling❖ Use a protocol that suits your use case perfectly, not a protocol built to handle all
    • ❖ No mandatory signaling protocol is a GOOD THING™❖ Gives developers absolute control over the user experience❖ Avoids the tendency to rebuild the PSTN❖ Avoids the “federation” issue❖ Allows for identity to be more than a number
    • ❖ URL-Based Calling ❖ http://www.digium.com/contact/sales ❖ http://www.digium.com/contact/ssokol❖ Directory-Based Calling ❖ Facebook ❖ Twitter ❖ Linked-In ❖ Corporate LDAP
    • • “Inside” users will use a web-based or mobile client• “Outside” users will use portal pages to request access to various resources • People • Departments • Expert Support
    • ❖ You will still need a communications system or a communications service❖ You (eventually) may not need a “phone company”❖ Prediction: wired and wireless carriers will become glorified ISPs within the decade❖ WebRTC will make rich communications a 100% “OTT” business
    • So, Is It Ready To Use?
    • Yes and no...
    • ❖ Implementations in Chrome, Mozilla❖ Not currently interoperable❖ Great for “controlled environments”❖ Not yet ready for use by “normal” users❖ Will be ready by the end of 2013
    • Challenges
    • ❖ Mobile Deployments❖ Large-Scale Multi-Party❖ Legacy Integration❖ Codec Selection❖ Fragmentation (Microsoft’s CU-RTC- Web)❖ Encryption Keys
    • Future features and enhancements...
    • ❖ Peer-To-Peer Data❖ Real-Time Text (Captions)❖ Media Recording❖ Screen / Desktop / Tab Sharing❖ Statistics / Monitoring❖ Possibly low-level APIs
    • A few use cases:
    • ❖ Social Media❖ Call Center Agent Interface❖ Conferencing & Collaboration❖ Enhanced Customer Care❖ Distance Learning❖ In-Game Communications❖ Broadcasting
    • Big Changes(Welcome To The Post-Telephony Era)
    • • Telephony has been holding back communications for the past decade.• SIP was hijacked: what started out as a peer-to-peer system was twisted into “PSTN-Over-IP”• Improvements and price reductions in bandwidth, mobile, web make a real change possible
    • ❖ Fully Unified Communications ❖ Integration of communications directly into business and social applications ❖ Communications as a feature or function rather than as a service❖ Customized User Experience❖ Excellent Privacy / Security❖ Significant Cost Reduction
    • Asterisk And WebRTC
    • ❖ Asterisk 11 added ICE, STUN, TURN support, WebSocket transport for SIP channel and other tweaks❖ You can now create web endpoints using Asterisk and a JavaScript SIP library ❖ SIPML5 ❖ JS-SIP❖ Asterisk can bridge between WebRTC and legacy communications technologies
    • Demo Time!
    • Future versions of Asterisk will do more: ❖ Recording and playback of audio and video ❖ Interfaces for additional / custom signaling protocols ❖ Interactive voice and video applications
    • Thanks Steve Sokolssokol@digium.com +1 (256) 428-6101