WebRTC video chat app
Last updated
Was this helpful?
Last updated
Was this helpful?
In this tutorial, you will learn how to establish a WebRTC connection using the SAFE Network.
Instead of using a centralized video chat service, such as Skype or Google Hangouts – who can track your location, what you are saying, and to whom, you can use the SAFE Network as a secure channel to exchange connectivity information to establish direct peer-to-peer WebRTC connections.
The SAFE Signaling Demo lets you set up a room and share the room name with someone you want to talk with. You should be able to connect to one another with video, audio and a small instant messaging feature on the left. You can see yourself on the bottom right, your peer is visible in the center. Enjoy!
For now, only the connection establishment is done using the SAFE Network. The actual connection is either peer-to-peer () or via a server. At some point later, we will integrate this functionality directly in .
This tutorial will showcase how to:
You will learn about the following APIs:
1. SAFE Launcher
2. SAFE Browser
3. Node.js
Make sure you have Node.js v6 (LTS).
1. Clone this GitHub repository
2. Install the dependencies
3. Start the app
Cannot reuse the same room (currently you need to use a different room name for every new chat)
Supports only one-on-one chat (group chat not currently supported)
Needs camera access or else it doesn't work
was used as a starting point.
You can access the SAFE Signaling Demo at using .
Start and log in.
Start .
There are many ways to install Node.js. See for more info.
If you don't have Git installed, you can download it from .