Learning WebRTC

Develop interactive real-time communication applications with WebRTC
Preview in Mapt

Learning WebRTC

Dan Ristic

Develop interactive real-time communication applications with WebRTC
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning WebRTC Book Cover
Learning WebRTC
$ 23.99
$ 16.80
Mastering Machine Learning Algorithms Book Cover
Mastering Machine Learning Algorithms
$ 35.99
$ 25.20
Buy 2 for $34.30
Save $25.68
Add to Cart

Book Details

ISBN 139781783983667
Paperback186 pages

Book Description

The book begins by teaching you how to capture audio and video streams from the browser using the Media Capture and Streams API.

You will then create your first WebRTC application capable of audio and video calling. The book will also give you in-depth knowledge about signaling and building a signaling server in Node.js. While being introduced to the RTCDataChannel object, you will learn how it relates to WebRTC and how to add text-based chat to your application. You will also learn to take your application further by supporting multiple users through different technologies and scale its performance and security. This book will also cover several theories using full mesh networks, partial mesh networks, and multipoint control units. By the end of this book, you will have an extensive understanding of real-time communication and the WebRTC protocol and APIs.

Table of Contents

Chapter 1: Getting Started with WebRTC
Audio and video communication today
Enabling audio and video on the Web
Creating web standards
Using WebRTC in your browser
Applications enabled by WebRTC
Self-test questions
Summary
Chapter 2: Getting the User's Media
Getting access to media devices
Constraining the media stream
Handling multiple devices
Modifying the media stream
Self-test questions
Summary
Chapter 3: Creating a Basic WebRTC Application
Understanding UDP transport and real-time transfer
The WebRTC API
Building a basic WebRTC application
Running your first WebRTC application
Self-test questions
Summary
Chapter 4: Creating a Signaling Server
Building a signaling server
Setting up our environment
Getting a connection
Identifying users
Initiating a call
Answering a call
Handling ICE candidates
Hanging up a call
Complete signaling server
Signaling in the real world
Self-test questions
Summary
Chapter 5: Connecting Clients Together
The client application
Setting up the page
Getting a connection
Logging in to the application
Initiating a call
Hanging up a call
A complete WebRTC client
Improving the application
Self-test questions
Summary
Chapter 6: Sending Data with WebRTC
Stream Control Transmission Protocol and data transportation
The RTCDataChannel object
Encryption and security
Adding text-based chat
Use cases
Self-test questions
Summary
Chapter 7: File Sharing
Getting a file with the File API
Breaking down a file into chunks
Putting it together on the other side
Showing progress to the user
Self-test questions
Summary
Chapter 8: Advanced Security and Large-scale Optimization
Securing the signaling server
Supporting mobile devices
Introduction to mesh networking
Video conferencing with more users
The future of conference calls
Self-test questions
Summary

What You Will Learn

  • Understand the underlying platform that WebRTC is built upon
  • Create applications that utilize your web camera and microphone
  • Build your very own signaling server from scratch
  • Enable your applications to communicate with multiple users
  • Share data and files across peer-to-peer connections using WebRTC
  • Implement best practices to secure and make a WebRTC application perform
  • Get to know more about multi-peer mesh networks for more than two users
  • Learn the best practices behind traversing networks, signaling, security, and data transport in WebRTC applications
  • Use full mesh networks, partial mesh networks, and multipoint control units to manage your applications

Authors

Table of Contents

Chapter 1: Getting Started with WebRTC
Audio and video communication today
Enabling audio and video on the Web
Creating web standards
Using WebRTC in your browser
Applications enabled by WebRTC
Self-test questions
Summary
Chapter 2: Getting the User's Media
Getting access to media devices
Constraining the media stream
Handling multiple devices
Modifying the media stream
Self-test questions
Summary
Chapter 3: Creating a Basic WebRTC Application
Understanding UDP transport and real-time transfer
The WebRTC API
Building a basic WebRTC application
Running your first WebRTC application
Self-test questions
Summary
Chapter 4: Creating a Signaling Server
Building a signaling server
Setting up our environment
Getting a connection
Identifying users
Initiating a call
Answering a call
Handling ICE candidates
Hanging up a call
Complete signaling server
Signaling in the real world
Self-test questions
Summary
Chapter 5: Connecting Clients Together
The client application
Setting up the page
Getting a connection
Logging in to the application
Initiating a call
Hanging up a call
A complete WebRTC client
Improving the application
Self-test questions
Summary
Chapter 6: Sending Data with WebRTC
Stream Control Transmission Protocol and data transportation
The RTCDataChannel object
Encryption and security
Adding text-based chat
Use cases
Self-test questions
Summary
Chapter 7: File Sharing
Getting a file with the File API
Breaking down a file into chunks
Putting it together on the other side
Showing progress to the user
Self-test questions
Summary
Chapter 8: Advanced Security and Large-scale Optimization
Securing the signaling server
Supporting mobile devices
Introduction to mesh networking
Video conferencing with more users
The future of conference calls
Self-test questions
Summary

Book Details

ISBN 139781783983667
Paperback186 pages
Read More

Read More Reviews

Recommended for You

Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
ReactJS by Example - Building Modern Web Applications with React Book Cover
ReactJS by Example - Building Modern Web Applications with React
$ 35.99
$ 25.20
React and React Native Book Cover
React and React Native
$ 39.99
$ 28.00
Responsive Web Design with HTML5 and CSS3 - Second Edition Book Cover
Responsive Web Design with HTML5 and CSS3 - Second Edition
$ 31.99
$ 22.40
Learning Node.js for Mobile Application Development Book Cover
Learning Node.js for Mobile Application Development
$ 35.99
$ 25.20