winlin

change sleep time from 3s to 0.6s for ingester.

@@ -32,6 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -32,6 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 #include <srs_app_pithy_print.hpp> 32 #include <srs_app_pithy_print.hpp>
33 33
34 // when error, ingester sleep for a while and retry. 34 // when error, ingester sleep for a while and retry.
  35 +// ingest never sleep a long time, for we must start the stream ASAP.
35 #define SRS_INGESTER_SLEEP_US (int64_t)(6*100*1000LL) 36 #define SRS_INGESTER_SLEEP_US (int64_t)(6*100*1000LL)
36 37
37 SrsIngester::SrsIngester() 38 SrsIngester::SrsIngester()