WebRTC Blueprints


WebRTC Blueprints
eBook: $25.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.10
save 15%!
Print + free eBook + free PacktLib access to the book: $67.98    Print cover: $41.99
$64.09
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 176 pages [ 235mm x 191mm ]
Release Date : May 2014
ISBN : 1783983108
ISBN 13 : 9781783983100
Author(s) : Andrii Sergiienko
Topics and Technologies : All Books, Web Development, Open Source


Table of Contents

Preface
Chapter 1: Developing a WebRTC Application
Chapter 2: Using the WebRTC Data API
Chapter 3: The Media Streaming and Screen Casting Services
Chapter 4: Security and Authentication
Chapter 5: Mobile Platforms
Index
  • Chapter 1: Developing a WebRTC Application
    • Establishing a peer-to-peer connection
      • The Session Description Protocol
      • ICE and ICE candidates
      • NAT traversal
      • WebSocket
    • Preparing the environment
      • Installing Erlang
      • Installing Rebar
      • Configuring a web server
    • A simple p2p video conference – the browser application
      • Developing a WebRTC API adapter
      • Developing a WebRTC API wrapper
      • Developing an index page
        • Local and remote video objects
    • A simple p2p video conference – the server application
      • The application description file
      • The application module
      • The server supervisor
      • The WebSocket handler
      • Developing a configuration script for Rebar
      • Compiling and running the signaling server
      • Let's start the conference!
    • Configuring and installing your own STUN server
    • Summary
  • Chapter 2: Using the WebRTC Data API
    • Introducing the Data API
      • Introducing protocols
    • Introducing HTML5
    • Introducing the HTML5 File API
    • Known limitations
    • Preparing the environment
    • A simple file-sharing service – the browser application
      • The WebRTC API wrapper
    • Developing the main page of the application
    • Running the application
    • Summary
  • Chapter 3: The Media Streaming and Screen Casting Services
    • Preparing our environment
    • Using HTTPS and SSL
      • Configuring a WebSocket proxy
      • The web browser configuration
      • Preparing a media file
      • Developing the application
    • Developing a signaling server
    • Limitations
    • The media streaming and screen casting service
      • Developing a WebRTC API wrapper
      • Creating the application's index page
    • Starting the application and testing it
    • Summary
  • Chapter 4: Security and Authentication
    • Preparing our environment
    • Signaling
    • Using STUN and TURN
    • Using the TURN authentication
      • The TURN transport layer
      • The TURN REST API
    • Using web-based identity providers
    • Deploying the TURN server
    • Configuring HTTPS and self-signed certificates
      • Configuring the server's firewall
      • Configuring the TURN server
      • The TURN REST API flag
    • Integrating the TURN server with our application
      • Improving the signaling server
      • Improving the JavaScript browser-side code
    • Starting the application and testing
    • Summary
  • Chapter 5: Mobile Platforms
    • Preparing the environment
    • Supporting WebRTC on mobile platforms
      • Android
      • iOS
      • Windows Phones
      • Blackberry
      • Utilizing WebRTC via a native browser
      • Utilizing WebRTC using browser applications
      • Developing native mobile applications
    • Looking at WebRTC on mobile platforms
      • Hardware
      • Environment
    • Using third-party libraries and SDKs
    • Building a WebRTC native demo application
    • Building a WebRTC demo application for Android
      • Configuring the build environment
      • Obtaining the source code
      • Installing Oracle JDK
      • Preparing for compilation
      • Installing Android Development Tools
      • Compiling the code
      • Running the Android demo application on an emulator
      • Running the Android demo application on your device
      • Testing the Android demo application
    • Building a WebRTC demo for iOS
      • Preparing the environment
      • Creating a work directory
      • Downloading the source code
        • Getting the chromium depot tools
        • Downloading the WebRTC source code
      • Building and running a demo application on the iOS 7 simulator
      • Building and running a demo application on the iOS device
        • Fixing possible issues in iOS 7
      • Changing the code
    • Summary

Andrii Sergiienko

Andrii Sergiienko is a computer software developer from Ukraine, who is passionate about information technologies and traveling. He has lived in different places and seen different kinds of cultures. Over the years, he has lived in Russia, Belarus, Mongolia, Buryatia, and Siberia. He likes to travel across Europe by auto. From his early childhood, Andrii was interested in computer programming and hardware; he took his first steps in these fields more than 20 years ago. Andrii has experience with a wide set of languages such as C, C++, Java, Assembler, Erlang,JavaScript, and PHP. He has also worked with technologies such as Riak, shell scripting, computer networks, and security. In his career, Andrii has worked for both small local companies such as domestic ISPs and large world corporations such as Hewlett Packard. He has also started his own companies, some of which were relatively successful; others failed.

Today, Andrii is the founder of Oslikas, a computer software company that has its headquarters in Estonia. The company is focused on modern IT technologies and solutions. They also develop a full-stack framework to create rich media WebRTC applications and services.You can read more about Oslikas at http://www.oslikas.com.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

WebRTC Blueprints +    Mastering Object-oriented Python =
50% Off
the second eBook
Price for both: $35.95

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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.

Approach

This book is a step-by-step project-based guide that aims to teach you how to develop your own web applications and services with WebRTC in a concise, practical manner.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software