1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

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

This commit is contained in:
winlin 2014-04-08 15:43:47 +08:00
parent 509504f27d
commit ccf0a423be

View file

@ -32,6 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <srs_app_pithy_print.hpp> #include <srs_app_pithy_print.hpp>
// when error, ingester sleep for a while and retry. // 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) #define SRS_INGESTER_SLEEP_US (int64_t)(6*100*1000LL)
SrsIngester::SrsIngester() SrsIngester::SrsIngester()