From 0bbfc5526a894e2ec3e7c133768105bd49bdf0fa Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 19 Aug 2015 16:22:52 +0800 Subject: [PATCH] set the default get_publish_normal_timeout to 5s --- trunk/src/app/srs_app_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index e023165f4..836545518 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -2598,7 +2598,7 @@ int SrsConfig::get_publish_normal_timeout(string vhost) // the timeout for publish recv. // we must use more smaller timeout, for the recv never know the status // of underlayer socket. - static int DEFAULT = 7000; + static int DEFAULT = 5000; SrsConfDirective* conf = get_vhost(vhost); if (!conf) {