https://github.com/znitche/vsr
video streaming relay
https://github.com/znitche/vsr
Last synced: about 1 year ago
JSON representation
video streaming relay
- Host: GitHub
- URL: https://github.com/znitche/vsr
- Owner: zNitche
- License: mit
- Created: 2025-01-07T23:02:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-02T19:30:58.000Z (about 1 year ago)
- Last Synced: 2025-03-02T20:29:01.945Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vsr
video streaming relay
### How it works

1. `Camera/s` start MJPEG streaming to `Relay`.
2. `Relay` handshake with `Broadcaster/s`.
3. `Broadcaster` On client connected -> request data stream from `Relay`,
then send it to client.
4. `Broadcaster` On client disconnected -> if there is no client connected,
stop receiving data from `Relay`.
### Notes
```
ffmpeg -re -i test.mp4 -vcodec mjpeg -f mjpeg tcp://127.0.0.1:8989
```
```
ffplay tcp://127.0.0.1:9000
```