Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning WebRTC

You're reading from  Learning WebRTC

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781783983667
Pages 186 pages
Edition 1st Edition
Languages
Author (1):
Daniel M. Ristic Daniel M. Ristic
Profile icon Daniel M. Ristic

Table of Contents (16) Chapters

Learning WebRTC
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with WebRTC 2. Getting the User's Media 3. Creating a Basic WebRTC Application 4. Creating a Signaling Server 5. Connecting Clients Together 6. Sending Data with WebRTC 7. File Sharing 8. Advanced Security and Large-scale Optimization Answers to Self-test Questions Index

Setting up our environment


We are going to utilize the power of Node.js to build our server. If you have never programmed in Node.js before, do not worry! This technology utilizes a JavaScript engine to do all the work. This means that all of the programming will be in JavaScript so there will be no new language to learn. Now, let's perform the following steps to set up our Node.js environment:

  1. The first step to running a node.js server is to install node.js.

    Note

    You can visit the website at http://nodejs.org/ to get more information on how to install it. There are many options out there for every OS, so feel free to choose the one that best suits your needs. At the time of writing, the latest Node.js version is v0.12.4.

  2. Now you can open up your terminal application and use the node command to bring up the Node.js VM. Node.js is based on the V8 JavaScript engine that comes with Google Chrome. This means that it works extremely close to how the browser interprets JavaScript. Type in a few commands...

lock icon The rest of the chapter is locked
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 $15.99/month. Cancel anytime}