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

pull/800/head
winlin 8 years ago
parent 3562424ee3
commit 14765c2ba5

@ -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,

Loading…
Cancel
Save