A lightweight browser-based video streaming solution built with JavaScript and PHP.
Not AI generated code
- Entirely browser-based streaming - no additional server-side or client-side framework required
- Real-time performance metrics (frame rate, bandwidth)
- Adjustable quality settings and thread count
- Cross-browser compatibility
- Integration with YOLO object detection in C++
- Configure streaming authentication methods (if required) and deploy files to a web server
- Make the
datadirectory writable for temporary file exchange - Access
index.phpto start streaming andview.phpURL for viewing - For object detection: compile the YOLO C++ code with the provided custom
makefile
| Folder/File | Description |
|---|---|
| assets/ | CSS and JavaScript files |
| data/ | Storage for streaming images |
| yolov3-cpp/ | C++ implementation of YOLO object detection |
| index.php | Streaming page for broadcasters |
| view.php | Viewing page for audience |
Streaming: Open index.php → Start Camera → Adjust Quality and Frame Rate → Start Streaming
Viewing: Open view.php → Start View
Object Detection: The system can automatically detect objects in the video stream using YOLOv3. Detected objects (people, cats, dogs) are saved with timestamps in a separate directory.
