From a3de1c71fc621523724182e229795727a8bff403 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 8 Dec 2014 09:49:45 +0800 Subject: [PATCH] reset the mw_latency to 350. --- trunk/conf/full.conf | 4 ++-- trunk/src/core/srs_core_performance.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 2e47826d5..de0ca0498 100755 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -165,8 +165,8 @@ vhost mrw.srs.com { # SRS always set mw on, so we just set the latency value. # the latency of stream >= mw_latency + mr_latency # the value recomment is [300, 1800] - # default: 450 - mw_latency 450; + # default: 350 + mw_latency 350; } # vhost for edge, edge and origin is the same vhost diff --git a/trunk/src/core/srs_core_performance.hpp b/trunk/src/core/srs_core_performance.hpp index 2ac545e09..391dd0913 100644 --- a/trunk/src/core/srs_core_performance.hpp +++ b/trunk/src/core/srs_core_performance.hpp @@ -95,7 +95,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 2000 150 300 */ // the default config of mw. -#define SRS_PERF_MW_SLEEP 450 +#define SRS_PERF_MW_SLEEP 350 /** * use iovs cache in each msg, * for the shared ptr message, we calc once and used for every copy.