https://github.com/lu-zero/restreamer
Simple data 1->N restreamer
https://github.com/lu-zero/restreamer
Last synced: 3 months ago
JSON representation
Simple data 1->N restreamer
- Host: GitHub
- URL: https://github.com/lu-zero/restreamer
- Owner: lu-zero
- License: gpl-2.0
- Created: 2018-03-07T22:25:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T16:03:34.000Z (over 6 years ago)
- Last Synced: 2025-01-17T13:17:01.237Z (5 months ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Simple restreamer
[](COPYING)
Based on [tokio](tokio.rs) `chat.rs` example.
## Usage
Launch the application with `cargo run`, connect a producer to `localhost:12345`, connect any number of consumers to `localhost:12346`.
The application has cli options to override the ports (`-p`), the host addresses (`-I` and `-O`) and the internal buffer size `-b`.
```
restream 0.1.0
Luca BarbatoUSAGE:
restream [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-b Set the packet buffer size [default: 1316]
-I Set the input host [default: 127.0.0.1]
-O Set the output host [default: 127.0.0.1]
-p, --port Set listening ports [default: 12345]
```## Credits
Thanks to [TodoStreaming](http://www.todostreaming.es) for sponsoring this experiment.