djmuted / PTL_Proj

Audio-video conference platform using WebRTC in SFU architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio-video conference

A web application that allows real-time video conferencing with desktop sharing.

Project for laboratory classes at the Poznan University of Technology.

Documentation

https://docs.google.com/document/d/1tZM00kalfO37ZPQXomoaGacE_y-1VtwWU_ZVJAtD0js/edit

Project architecture

Main architecture

Media Server architecture - SFU (Selective Forwarding Unit)

Technologies

  • WebRTC
  • Typescript
  • jQuery

Maintainers

  • Dziurzyński Miłosz
  • Gawiński Wojciech
  • Kmiotek Jarosław
  • Sobański Rafał

Deployment

You can easily deploy the project using a docker-compose file.

cd docker
docker-compose up

The default port is 5051, you can change it in the docker-compose.yml file.

Manual setup

Prerequisites

Setup

Change the default WebSocket port of the Kurento Media Server from 8888 to 8890

sudo nano /etc/kurento/kurento.conf.json
sudo systemctl restart kurento-media-server

Get other required packages and the repo contents

sudo apt install git screen
git clone https://github.com/djmuted/PTL_Proj
cd PTL_Proj

Download all required packages for the signaling server

cd signal
npm i
cd ..

Download all required packages for the client

cd client-frontend
npm install
cd ..

Start

Start the signaling server

cd signal
screen -S signal npm start

And press CTRL+A+D to detach the server and let it run in the background, after doing that come back to the main repo directory

cd ..

Start the client dev webhost

cd client-frontend
screen -S web npm start

WARNING: WebRTC does NOT work with unencrypted HTTP. HTTPS with a valid SSL certificate is required in recent Chrome and Firefox versions. The only exception is localhost, which will work with HTTP.

About

Audio-video conference platform using WebRTC in SFU architecture


Languages

Language:TypeScript 78.0%Language:HTML 18.5%Language:JavaScript 2.1%Language:Shell 0.9%Language:Dockerfile 0.6%