Skip to main content

Introduction

In this tutorial we will learn how to create a videoconferencing application using PexRTC. We will show how to use its basic features, such as microphone mute and camera mute and how to share the screen.

PexRTC is a JavaScript library that communicates with Pexip Infinity and is used to join and manage conferences. In this case we will use React, but you could use any JavaScript framework and even Vanilla JavaScript.

Requirements

Before starting any of these lessons, you will need the following prerequisites:

  • NodeJS and npm: You need to install these tools on your system. There are packages for any OS and normally you would install both together.
  • Text editor: You can use whatever you want, although our recommendation is to use Visual Studio Code.
  • Browser: You will need a browser with WebRTC support. The recommendation is to use the latest version of Google Chrome.
  • JavaScript and React knowledge: You will need solid JavaScript knowledge if you want to take advantage of these tutorials. Having some knowledge of React is recommended, but not essential.
  • Access to a Pexip Infinity deployment: This is the server that the app will use to connect. You could have your own Pexip Infinity deployment or access a demo environment. If you have any doubt about this, contact your Pexip representative.

Tutorials journey

You can start with any lesson you want, although is recommended to start from the beginning to understand how all the pieces fit together.

In each lesson we will provide starter_code that you can download. In this code you will see some TODO comments that indicates the parts of the code that you should modify.

At the end of each lesson is important to check your progress. We will provide you with the code and a diff that will help you to see all the changes that were made during the lesson.

And without further delay, let's start this journey!