Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 864 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 864 Bytes

Waterfall

Previous RTMP Publish Bench Tool.

This tool read flv packages from a specified .flv file (H264, AAC) and push it to destinations from list or generated paths, concurrently.

Build

cargo build

Run

cargo run -- -h

Examples

cargo run -- -i ~/Videos/BigBuckBunny_320x180.flv -c 100 -p rtmp://localhost:1935/test/stream-

Or you can read target RTMP urls list from generated file:

> cat target.list
rtmp://example.com/app/stream_a
rtmp://example.com/app/stream_b
rtmp://example.com/app/stream_c
rtmp://example.com/app/stream_d
rtmp://example.com/app/stream_e
rtmp://example.com/app/stream_f

> cargo run -- -i ~/Videos/BigBuckBunny_320x180.flv target.list

License

This project is licensed under the MIT license.