mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix st_usleep param from us to ms. (#1236)
fix st_usleep param from us to ms.
This commit is contained in:
parent
9859fa9e6f
commit
768fe68ca3
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ int SrsLiveStream::do_serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r)
|
|||
if (count <= 0) {
|
||||
srs_info("http: sleep %dms for no msg", SRS_CONSTS_RTMP_PULSE_TIMEOUT_US);
|
||||
// directly use sleep, donot use consumer wait.
|
||||
st_usleep(mw_sleep);
|
||||
st_usleep(mw_sleep * 1000);
|
||||
|
||||
// ignore when nothing got.
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue