1
0
Fork 0
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:
winlin 2015-07-10 11:50:35 +08:00
parent 2567a89599
commit 0aa053433c
3 changed files with 7 additions and 9 deletions

View file

@ -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);