From ccf0a423be070d7f9f9610380f03e5aba9b088cf Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 8 Apr 2014 15:43:47 +0800 Subject: [PATCH] change sleep time from 3s to 0.6s for ingester. --- trunk/src/app/srs_app_ingest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/app/srs_app_ingest.cpp b/trunk/src/app/srs_app_ingest.cpp index 99205fda5..43a91357f 100644 --- a/trunk/src/app/srs_app_ingest.cpp +++ b/trunk/src/app/srs_app_ingest.cpp @@ -32,6 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include // when error, ingester sleep for a while and retry. +// ingest never sleep a long time, for we must start the stream ASAP. #define SRS_INGESTER_SLEEP_US (int64_t)(6*100*1000LL) SrsIngester::SrsIngester()