1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug, add param for generating tc url and add play stream to make-bandwidth checking success (#790)

This commit is contained in:
ME_Kun_Han 2017-03-04 14:44:34 +08:00 committed by winlin
parent 8ab43b3e78
commit 3562424ee3
4 changed files with 17 additions and 12 deletions

View file

@ -69,6 +69,11 @@ 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,