1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

SquashSRS4: Update srs-bench.

This commit is contained in:
winlin 2021-03-24 11:05:25 +08:00
parent 25145b945d
commit b7b474deba
10 changed files with 590 additions and 516 deletions

View file

@ -142,6 +142,12 @@ go test ./srs -mod=vendor -v -srs-server=127.0.0.1
make && ./objs/srs_test -test.v -srs-server=127.0.0.1
```
可以只运行某个用例,并打印详细日志,比如:
```bash
make && ./objs/srs_test -test.v -srs-log -test.run TestRtcBasic_PublishPlay
```
支持的参数如下:
* `-srs-server`RTC服务器地址。默认值`127.0.0.1`