stress/README.md

30 lines
595 B
Markdown
Raw Normal View History

2021-07-07 10:46:39 +00:00
# rtmp-stress
> clone from https://github.com/rzrobert/st-load-master
## Build
```shell
2021-07-07 11:00:44 +00:00
docker build -t rtmp-stress -t tools.evan-soft.com/rtmp-stress .
docker push tools.evan-soft.com/rtmp-stress
2021-07-07 10:46:39 +00:00
```
## Use
```shell
2021-07-07 11:00:44 +00:00
# Pull image if didn't build
docker pull tools.evan-soft.com/rtmp-stress
2021-07-07 10:46:39 +00:00
# start
docker run -d --name stress rtmp-stress sb_rtmp_load_fast -c 50 -r rtmp://kumoly.io/mosu/live
2021-07-07 11:06:52 +00:00
# or
docker run -d --name stress tools.evan-soft.com/rtmp-stress sb_rtmp_load_fast -c 50 -r rtmp://192.168.51.219/live/live
2021-07-07 10:46:39 +00:00
# see the logs
docker logs -f stress
# stop
docker rm -f stress
```