WebRTC Cookbook
eBook - ePub

WebRTC Cookbook

  1. 230 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

WebRTC Cookbook

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

WebRTC Cookbook


Table of Contents

WebRTC Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Peer Connections
Introduction
Building a signaling server in Erlang
Getting ready
How to do it…
How it works…
There's more…
See also
Building a signaling server in Java
Getting ready
How to do it…
How it works…
There's more…
See also
Detecting WebRTC functions supported by a browser
Getting ready
How to do it…
How it works…
There's more…
See also
Making and answering calls
Getting ready
How to do it…
Making a call
Answering a call
How it works…
There's more…
See also
Implementing a chat using data channels
Getting ready
How to do it…
Creating the main HTML page of the application
Creating the JavaScript helper library
How it works…
There's more…
See also
Implementing a chat using a signaling server
How to do it…
How it works…
There's more…
See also
Configuring and using STUN
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring and using TURN
Getting ready
How to do it…
Installing the TURN server
Using TURN in WebRTC application
How it works…
There's more…
See also
2. Supporting Security
Introduction
Generating a self-signed certificate
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring a TURN server with authentication
Getting ready
How to do it…
Implementing the client-side code
Implementing the server-side code
How it works…
There's more…
See also
Configuring a web server to work over HTTPS
Getting ready
How to do it…
Configuring Nginx
Configuring Apache
Configuring IIS
There's more…
See also
Configuring a WebSockets proxy on the web server
Getting ready
How to do it…
Configuring Nginx
Configuring Apache
Configuring IIS
How it works…
There's more…
See also
Configuring a firewall
Getting ready
How to do it…
Configuring a firewall on a server
Configuring a firewall on a client
See also
3. Integrating WebRTC
Introduction
Integrating WebRTC with Asterisk
Getting ready
How to do it…
Installing libSRTP
Installing Asterisk
How it works…
There's more…
See also
Integrating WebRTC with FreeSWITCH
Getting ready
How to do it…
Installing FreeSWITCH
Enabling WebRTC
Starting FreeSWITCH
How it works…
There's more…
See also
Making calls from a web page
Getting ready
How to do it…
Installing sipML5
How it works…
There's more…
See also
Integration of WebRTC with web cameras
Getting ready
How to do it…
Configuring the webcam
Installing WebRTC media server
Time for magic
How it works…
There's more…
4. Debugging a WebRTC Application
Introduction
Working with a WebRTC statistics API
Getting ready
How to do it…
Checking estimated bandwidth
Checking packet loss
How it works…
There's more…
See also
Debugging with Chrome
Getting ready
How to do it…
Using webrtc-internals
Using Chrome logging mechanism
How it works…
There's more…
See also
Debugging TURN
Getting ready
How to do it…
How it works…
There's more…
See also
Debugging using Wireshark
Getting ready
How to do it…
How it works…
There's more…
See also
5. Working with Filters
Introduction
Working with colors and grayscale
How to do it…
How it works…
Working with brightness
How to do it…
How it works…
Working with contrast
How to do it…
How it works…
Working with saturation
How to do it…
How it works…
Working with hue
How to do it…
How it works…
Using the sepia filter
How to do it…
How it works…
Using the opacity filter
How to do it…
How it works…
Inverting colors
How to do it…
How it works…
Implementing the blur effect
How to do it…
How it works…
Implementing the dropped shadow effect
How to do it…
How it works…
Combining filters
How to do it…
How it works…
Custom video processing
How to do it…
How it works…
6. Native Applications
Introduction
Building a customized WebRTC demo for iOS
Getting ready
How to do it…
There's more…
Building a demo project for a iOS simulator
See also
Compiling and running an original demo for iOS
Getting ready
How to do it…
Building a demo project for an iOS device
Building a demo project for an iOS simulator
There's more…
See also
Compiling and running a demo for Android
Getting ready
Preparing the system
Installing Oracle JDK
Getting the WebRTC source code
Installing Android Developer Tools
How to do it…
Running on the Android simulator
Fixing a bug with GLSurfaceView
Running on a physical Android device
There's more…
See also
Building an OpenWebRTC library
Getting ready
How to do it…
There's more…
7. Third-party Libraries
Introduction
Building a video conference using SimpleWebRTC
Getting ready
How to do it…
How it works…
There's more…
Creating an application using RTCMultiConnection
Getting ready
How to do it…
How it works…
There's more…
Developing a simple WebRTC chat using PeerJS
Getting ready
How to do it…
How it work...

Table of contents

  1. WebRTC Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access WebRTC Cookbook by Andrii Sergiienko in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.