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 WebRTC Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
WebRTC Cookbook

WebRTC Cookbook

By : Sergiienko
5 (1)
close
close
WebRTC Cookbook

WebRTC Cookbook

5 (1)
By: Sergiienko

Overview of this book

If you are a JavaScript developer with a basic knowledge of WebRTC and software development, but want to explore how to use it in more depth, this book is for you.
Table of Contents (10 chapters)
close
close
9
Index

Using OpenTok to create a WebRTC application


OpenTok is a proprietary framework that allows you to build WebRTC-based applications using the provided SDK. In this recipe, we will build a simple demo application by utilizing the basic features of the tool.

Getting ready

To use this framework, you should register with the OpenTok system, and get a unique developer API ID. To use this system, you should have three keys: the API key, session ID, and token. The following instructions cover the process of creating these keys:

  1. Navigate to https://tokbox.com/opentok/ and click on Sign Up.

  2. Fill the form and click on the Sign Up button:

  3. Check for an e-mail from OpenTok (TokBox), they will send a confirmation e-mail with the API key. Write down the API key—this is the first key. Confirm your registration with their system by clicking on the appropriate link in the e-mail:

  4. Navigate to https://dashboard.tokbox.com—find the Projects section and click on the View Details button:

  5. In the next page, you will see...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

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