This is a video-chat application made with react, using the webrtc API and a signal server found here (https://github.com/stun-project/signal_server). It allows several peers to connect at once.
- Group videochat
- Textchatting in room
- Share screen
- Authentication
- Room overview
- Share-button
- Write tests
- Browser webrtc API
- Socket.io library
It is used to enable full duplex communucation between the client and the signal-server
Setup instructions assume that you have cloned both the signal server and this repository, and that you have npm installed.
Starting up the signal server
cd signal_server
npm install
node signal.js
Starting the react app
cd webrtc
npm install
npm start
Docker and Docker-compose are required for this setup.
Build the frontend image:
cd webrtc
docker build -t Sigmundgranaas/webrtc .
Build the signal server image:
cd signal_server
docker build -t Sigmundgranaas/signal_server .
Finally start the containers:
cd webrtc
docker-compose up