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:
parent
8ab43b3e78
commit
3562424ee3
4 changed files with 17 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue