A minimal WebRTC server built using FastAPI and aiortc to receive real-time video streams from a mobile client over a local network.
- WebRTC signaling via FastAPI
- Receives video track from mobile app
- Displays real-time stream via OpenCV
- Python 3.10
- FastAPI
- Uvicorn
- aiortc
- OpenCV
webrtc_server/ │ ├── main.py ├── requirements.txt ├── README.md
git clone
### 2. Create Virtual Environment
python -m venv venv
### 3. Install Dependencies
pip install -r requirements.txt
(as you can see, all required dependencies are already added)
### 4. Run Server
python main.py
### 5. Swagger docs available at:
http://localhost:8000/docs