Shubham Saboo
Shubham Saboo

@Saboo_Shubham_

9 Tweets 31 reads Sep 10, 2022
How to build your own zoom with just 30 lines of Python code?
Yes, you heard it right!
(A thread) πŸ‘‡
The goal is to build a video streaming service that allows multiple users to join via their webcams.
In the end, everybody can see each other’s videos in real-time.
Let's look at how we can implement it.
Tech stack required:
Programming Langauge πŸ‘‡
- Python
Libraries πŸ‘‡
- Jina
- Numpy
- OpenCV
To make it a simple service that is easy to understand, let's break the code into two Python scripts:
- Server (To host the service, it doesn't require any webcam)
- Client (For different users to connect to the server with their webcam)
Let's look at the server-side codeπŸ‘‡
Let's look at the client-side code πŸ‘‡
And, here is what you will get at the end. A zoom-like service built by you with just 30 lines of Python code 🀯
For a detailed explanation and to build more such multi-modal and cross-modal applications, check out the source code and docsπŸ‘‡
Docs - #multi-user-video-streaming" target="_blank" rel="noopener" onclick="event.stopPropagation()">docs.jina.ai
Source Code - github.com
If you enjoyed this thread:
1. Follow me @Saboo_Shubham_ for more such content
2. Like and RT the tweet below to share it with your audience

Loading suggestions...