mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
For #790, play or publish is not neccessary for bandwidth test.
This commit is contained in:
parent
3562424ee3
commit
14765c2ba5
1 changed files with 0 additions and 5 deletions
|
@ -70,11 +70,6 @@ int do_check(srs_rtmp_t rtmp)
|
|||
return ret;
|
||||
}
|
||||
|
||||
if ((ret = srs_rtmp_play_stream(rtmp)) != 0) {
|
||||
srs_human_trace("Play rtmp stream failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if ((ret = srs_rtmp_bandwidth_check(rtmp,
|
||||
&start_time, &end_time, &play_kbps, &publish_kbps,
|
||||
&play_bytes, &publish_bytes, &play_duration, &publish_duration)) != 0
|
||||
|
|
Loading…
Reference in a new issue