Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WebRTC Blueprints

You're reading from   WebRTC Blueprints Develop your very own media applications and services using WebRTC

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781783983100
Length 176 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andrii Sergiienko Andrii Sergiienko
Author Profile Icon Andrii Sergiienko
Andrii Sergiienko
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Developing a WebRTC Application FREE CHAPTER 2. Using the WebRTC Data API 3. The Media Streaming and Screen Casting Services 4. Security and Authentication 5. Mobile Platforms Index

Chapter 1. Developing a WebRTC Application

This chapter describes the basics of developing WebRTC media web applications. You will learn how to build a simple peer-to-peer video conference with a web chat that will work through NAT and firewalls (in most cases).

The video conference developed in this chapter consists of two applications: the client-side application and the server-side application.

The client code is written in JavaScript and will be executed in the customer's web browser. This application uses the WebRTC API, handles all the media features, and provides a web page.

The server code will be executed on a server (it can even be your work machine). We need the server application to make our conference work well with peers behind NAT (peers who use private IP addresses). The server code is written in Erlang, and you will also get a brief introduction to this language.

As a bonus, you will get basic knowledge of Session Traversal Utilities for NAT (STUN) and Traversal Using Relay NAT (TURN) servers. We will discuss them in a more detailed way in Chapter 4, Security and Authentication.

You have been reading a chapter from
WebRTC Blueprints
Published in: May 2014
Publisher:
ISBN-13: 9781783983100
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime