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:
parent
42c5a935f9
commit
bb37a5550c
19 changed files with 1277 additions and 1065 deletions
6
trunk/3rdparty/srs-bench/README.md
vendored
6
trunk/3rdparty/srs-bench/README.md
vendored
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue