LenilsonTomaz / mychat

A video group video calling application using a Django backend with the Agora Web SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyChat

Description

A Group video calling application using the Agora Web SDK with a Django backend.

How to use this source code

1 - Clone repo

git clone https://github.com/divanov11/mychat

2 - Install requirements

cd mychat
pip install -r requirements.txt

3 - Update Agora credentals

In order to use this project you will need to replace the agora credentials in views.py and streams.js.

Create an account at agora.io and create an app. Once you create your app, you will want to copy the appid & appCertificate to update views.py and streams.js. If you have questions about where to get your app I'd recommend referencing this link https://youtu.be/HX6AM_1-jNM?t=88

views.py
def getToken(request):
    appId = "YOUR APP ID"
    appCertificate = "YOUR APPS CERTIFICATE"
    ......
streams.js
....
const APP_ID = 'YOUR APP ID'
....

4 - Start server

python manage.py runserver

About

A video group video calling application using a Django backend with the Agora Web SDK


Languages

Language:Python 33.8%Language:HTML 26.7%Language:CSS 22.4%Language:JavaScript 17.1%