mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #132: build failed when enable the info or verbose log.
This commit is contained in:
parent
2567a89599
commit
0aa053433c
3 changed files with 7 additions and 9 deletions
|
@ -134,7 +134,7 @@ int SrsStreamCache::cycle()
|
|||
}
|
||||
|
||||
if (count <= 0) {
|
||||
srs_info("http: mw sleep %dms for no msg", mw_sleep);
|
||||
srs_info("http: sleep %dms for no msg", SRS_CONSTS_RTMP_PULSE_TIMEOUT_US);
|
||||
// directly use sleep, donot use consumer wait.
|
||||
st_usleep(SRS_CONSTS_RTMP_PULSE_TIMEOUT_US);
|
||||
|
||||
|
@ -522,7 +522,7 @@ int SrsLiveStream::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r)
|
|||
}
|
||||
|
||||
if (count <= 0) {
|
||||
srs_info("http: mw sleep %dms for no msg", mw_sleep);
|
||||
srs_info("http: sleep %dms for no msg", SRS_CONSTS_RTMP_PULSE_TIMEOUT_US);
|
||||
// directly use sleep, donot use consumer wait.
|
||||
st_usleep(SRS_CONSTS_RTMP_PULSE_TIMEOUT_US);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue