Learning WebRTC

Develop interactive real-time communication applications with WebRTC

Learning WebRTC

Learning
Dan Ristic

Develop interactive real-time communication applications with WebRTC
$23.99
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

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