1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00

For #790, play or publish is not neccessary for bandwidth test.

This commit is contained in:
winlin 2017-03-04 14:46:48 +08:00
parent 3562424ee3
commit 14765c2ba5

View file

@ -69,11 +69,6 @@ int do_check(srs_rtmp_t rtmp)
srs_human_trace("Retrieve server version failed, ret=%d", ret);
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,