DEV Community

Cover image for Building a Video Calling App using Python & Flask
Yash Makan
Yash Makan

Posted on

Building a Video Calling App using Python & Flask

flask_webrtc_youtube

================

A basic WebRTC video audio chat app made using python Flask.

Create and join video chat rooms. The users connects to each other in a peer to peer mesh network using WebRTC. They share their audio and video directly with each other without going through a centralized server. However, a centralized server is needed to initiate the connections at first using a process called signaling. This, signaling server is made using Flask in python and data is shared between server and clients using SocketIO.

For demo & explaination visit: https://youtu.be/ZvG1-s7QmLs

Source code

Source Code is Available in the description box below in the video. So do check it out...

Installation

To run this on your machine, install the following:

Requirements:

  • python 3.x
  • Flask
  • Flask-SocketIO

Install requirements using pip:



pip install -r requirements.txt


Enter fullscreen mode Exit fullscreen mode

To start a server on localhost:



python server.py

Enter fullscreen mode Exit fullscreen mode




Subscribe For More

YouTube

Contact Me

Website: yashmakan.co.in

Twitter: @Yash_Makan

Contribute

buymeacoffee: @Here

Other Interesting Articles

Top comments (3)

Collapse
 
vulcanwm profile image
Medea

Woah this is cool!

Collapse
 
yash_makan profile image
Yash Makan

Yeah! Thanks :)

Collapse
 
karfagen profile image
Sofiia Shevchuk • Edited

Useful post, thanks! Can I share your ideas in my article about video chat app development? With reference to you, of course.