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

Test: Update srs-bench

This commit is contained in:
winlin 2021-03-23 12:10:40 +08:00
parent 42c5a935f9
commit bb37a5550c
19 changed files with 1277 additions and 1065 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`