Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

objs/srs_bench -sfu live --help 案例都是无媒体传输,是不是本部分测试不支持推流测试 #52

Open
pethrowilo opened this issue Nov 22, 2024 · 0 comments

Comments

@pethrowilo
Copy link

Usage: objs/srs_bench [Options]
Options:
   -sfu    The target server that can be rtc, live, janus, or gb28181. Default: rtc
               rtc/srs: SRS WebRTC SFU server, for WebRTC/WHIP/WHEP.
               live: SRS live streaming server, for RTMP/HTTP-FLV/HLS.
               janus: Janus WebRTC SFU server, for janus private protocol.
   -sn     The number of streams to simulate. Variable: %d. Default: 1
   -delay  The start delay in ms for each client or stream to simulate. Default: 50
   -stat   [Optional] The stat server API listen port.
Publisher:
   -pr     The url to publish. If sn exceed 1, auto append variable %d.
   -cap    Whether to close connection after publish. Default: false

例如,1个推流,无媒体传输:
   objs/srs_bench -pr=rtmp://localhost/live/livestream -cap=true

例如,2个推流,无媒体传输:
   objs/srs_bench -pr=rtmp://localhost/live/livestream_%d -sn=2 -cap=true

Usage: objs/srs_bench [Options]
Options:
   -sfu    The target server that can be rtc, live, janus, or gb28181. Default: rtc
               rtc/srs: SRS WebRTC SFU server, for WebRTC/WHIP/WHEP.
               live: SRS live streaming server, for RTMP/HTTP-FLV/HLS.
               janus: Janus WebRTC SFU server, for janus private protocol.
   -sn     The number of streams to simulate. Variable: %d. Default: 1
   -delay  The start delay in ms for each client or stream to simulate. Default: 50
   -stat   [Optional] The stat server API listen port.
Publisher:
   -pr     The url to publish. If sn exceed 1, auto append variable %d.
   -cap    Whether to close connection after publish. Default: false

例如,1个推流,无媒体传输:
   objs/srs_bench -pr=rtmp://localhost/live/livestream -cap=true

例如,2个推流,无媒体传输:
   objs/srs_bench -pr=rtmp://localhost/live/livestream_%d -sn=2 -cap=true

添加 -sv -sa 对应文件时也显示 flag provided but not defined: -sa, rtmp 测试是没有必要还是暂未实现?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant