Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with WebRTC

You're reading from   Getting Started with WebRTC If you have basic HTML and JavaScript, you're well on the way to adding real time, peer-to-peer communication to your web applications using WebRTC. This book shows you how through a totally practical, structured course.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782166306
Length 114 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rob Manson Rob Manson
Author Profile Icon Rob Manson
Rob Manson
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Getting Started with WebRTC
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. An Introduction to Web-based Real-Time Communication 2. A More Technical Introduction to Web-based Real-Time Communication FREE CHAPTER 3. Creating a Real-time Video Call 4. Creating an Audio Only Call 5. Adding Text-based Chat 6. Adding File Sharing 7. Example Application 1 – Education and E-learning 8. Example Application 2 – Team Communication Index

Setting up communication


Although the basis of WebRTC communication is peer-to-peer, the initial step of setting up this communication requires some sort of coordination. This is most commonly provided by a web server and/or a signaling server. This enables two or more WebRTC capable devices or peers to find each other, exchange contact details, negotiate a session that defines how they will communicate, and then finally establish the direct peer-to-peer streams of media that flows between them.

The general flow

There are a wide range of scenarios, ranging from single web page demos running on a single device to complex distributed multi-party conferencing with a combination of media relays and archiving services. To get started, we will focus on the most common flow, which covers two web browsers using WebRTC to set up a simple video call between them.

Following is the summary of this flow:

  • Connect users

  • Start signals

  • Find candidates

  • Negotiate media sessions

  • Start RTCPeerConnection streams

Connect...

You have been reading a chapter from
Getting Started with WebRTC
Published in: Sep 2013
Publisher: Packt
ISBN-13: 9781782166306
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime