Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

diegogurgel/react-webrtc

Open more actions menu

Repository files navigation

WebRTC with react

This is a simple 1-to-1 video chat room example using react with webRTC and share screen API. This is experimental for learnig purposes. I hope that this project help you to learn something. You can test this on https://react-webrtc-example.herokuapp.com put a room id that you want to create and click enter the other peer have to use the same room id. Sometimes it takes a bit longer to connect(no longer than one minute).

android screenshot

Running locally

To run this application you need to create a TURN account. You can create one using this service http://numb.viagenie.ca/cgi-bin/numbacct

Change the .env.example to .env or .env.local

Put your turn account on the .env file

The folders

Front-end files are inside /src and the server files are inside /server folder

Install the dependencies

npm i

Start the application

npm run start:local
Morty Proxy This is a proxified and sanitized view of the page, visit original site.