Video stream is a simple tool that lets you stream video from one device to another!
-
Navigate to the project directory:
cd path/to/project -
Install dependecies:
pip install -r requirements.txt
-
Start the server:
For Windows:
python server.pyFor Linux/MacOS:
python3 server.py -
Copy the IP address displayed in the console.
-
Open
client.pyand replaceSERVER IP ADDRESSwith the copied IP. -
Run the client on another device:
For Windows:
python client.pyFor Linux/MacOS:
python3 client.py -
Done! You can now stream video from your webcam.
- The server must be running before starting the client.
- Both devices must be in the same network.