Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning WebRTC
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning WebRTC

Learning WebRTC

By : Daniel M. Ristic
4 (5)
close
close
Learning WebRTC

Learning WebRTC

4 (5)
By: Daniel M. Ristic

Overview of this book

If you are a web developer who wants to create well designed WebRTC applications for your users, this is the book for you. Even if you are early in your web development career, this book aims to provide a complete understanding of the WebRTC API. It is assumed that you have previous exposure to web development using HTML5 and JavaScript technologies.
Table of Contents (11 chapters)
close
close
10
Index

Chapter 4. Creating a Signaling Server

At some point when creating a WebRTC application, you will have to break away from developing for a client and build a server. Most WebRTC applications are not solely dependent on just being able to communicate through audio and video and typically need many other features to be interesting. In this chapter, we are going to dive into server programming using JavaScript and Node.js. We are going to create the basis for a basic signaling server that we can utilize through the rest of the book.

In this chapter, we will cover the following topics:

  • Setting up our environment to develop in Node.js
  • Connecting to the client using WebSockets
  • Identifying users
  • Initiating and answering a WebRTC call
  • Handling ICE candidate transfers
  • Hanging up a call

Throughout this chapter, we are going to focus solely on the server part of the application. In the next chapter, we will build the client part of this example. Our example server will be bare bones in nature, giving...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning WebRTC
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon