Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to WebRTC

Introduction to WebRTC

An introduction to WebRTC, how it works, what are it's applications, challenges and a video chat demo code to demonstrate it.

Avatar for Amr Abd ElKader

Amr Abd ElKader

August 01, 2018

Other Decks in Programming

Transcript

  1. Outline • What is WebRTC • How does it work

    • Components • WebRTC APIs • Challenges • Applications
  2. What is WebRTC? • Web Real Time Communication • Establishes

    Peer to Peer (P2P) connection between browsers • Open Project • Supported by Google, Mozilla and Opera. • Secure (HTTPS Only)
  3. Signaling • NOT defined by WebRTC • Build it yourself

    ! • Maximize compatibility with established technologies
  4. Signaling STUN STUN Who am I ? Who am I

    ? Signaling Server Client A Client B IP: 156.205.187.84
  5. Signaling Signaling Server Client A Client B Offer Answer Offer

    Answer SDP (Session Description Protocol)
  6. Offer/Answer • Session Description Protocol (SDP) • Includes all the

    information about the caller's proposed configuration for the call • Share media information ◦ What kind of media ◦ Media format ..etc
  7. Resources: • WebRTC official website • WebRTC API - MDN

    • HTML5 Rocks • Books: ◦ Getting Started With WebRTC - Rob Manson ◦ Real-time Communication With WebRTC - O'Reilly Media • Demo Code