Free Sample
+ Collection

WebRTC Blueprints

Andrii Sergiienko

Develop your very own media applications and services using WebRTC
RRP $25.99
RRP $41.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783983100
Paperback176 pages

About This Book

  • Create interactive web applications using WebRTC
  • Get introduced to advanced technologies such as WebSocket and Erlang
  • Develop your own secure web applications and services with practical projects

Who This Book Is For

If you are a WebRTC developer and want to build complex WebRTC applications and projects, or if you want to gain practical experience in developing web applications, advanced WebRTC media handling, Server and client signalling, call flows, third party integration, then this book is perfect for you. It is essential to have prior knowledge about building simple applications using WebRTC.

Table of Contents

Chapter 1: Developing a WebRTC Application
Establishing a peer-to-peer connection
Preparing the environment
A simple p2p video conference – the browser application
A simple p2p video conference – the server application
Configuring and installing your own STUN server
Chapter 2: Using the WebRTC Data API
Introducing the Data API
Introducing HTML5
Introducing the HTML5 File API
Known limitations
Preparing the environment
A simple file-sharing service – the browser application
Developing the main page of the application
Running the application
Chapter 3: The Media Streaming and Screen Casting Services
Preparing our environment
Using HTTPS and SSL
Developing a signaling server
The media streaming and screen casting service
Starting the application and testing it
Chapter 4: Security and Authentication
Preparing our environment
Using STUN and TURN
Using the TURN authentication
Using web-based identity providers
Deploying the TURN server
Configuring HTTPS and self-signed certificates
Integrating the TURN server with our application
Starting the application and testing
Chapter 5: Mobile Platforms
Preparing the environment
Supporting WebRTC on mobile platforms
Looking at WebRTC on mobile platforms
Using third-party libraries and SDKs
Building a WebRTC native demo application
Building a WebRTC demo application for Android
Building a WebRTC demo for iOS

What You Will Learn

  • Create video conference web services that work without installing plugins or additional third-party software
  • Use ICE and STUN to pass through NAT and firewalls
  • Learn how to create and use direct peer-to-peer data channels to secure exchange data
  • Build a cross-platform signalling server for WebRTC applications
  • Work with user files from JavaScript code using the modern HTML5 File API
  • Install and configure your own TURN/STUN server
  • Integrate your application with a TURN server using authentication
  • Make your application more secure and safe using HTTPS
  • Develop your own secure web applications and services with practical projects

In Detail

This book introduces you to WebRTC and how you can utilize its open API. Each chapter covers a new concept of the technology with thoroughly explained code examples of completed applications to help you learn quickly and efficiently.
You will learn about the client and server sides of a WebRTC application in a practical manner, as well as how to implement data exchange between peers using the WebRTC Data API. The book also guides you through how to develop applications for desktop sharing and prerecorded video streaming. The book also teaches you how to use HTTPS with a WebRTC application and why it can be useful. You will also learn how to implement authentication in an application and integrate it with your own TURN server.


Read More