From 6b5911633af245cbefc8412d3d7b272c0ef0e40e Mon Sep 17 00:00:00 2001 From: Saxon Date: Mon, 11 Nov 2019 14:32:24 +1030 Subject: [PATCH] revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size --- revid/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/revid/config/config.go b/revid/config/config.go index a8f43463..6abc1ca1 100644 --- a/revid/config/config.go +++ b/revid/config/config.go @@ -147,12 +147,12 @@ const ( defaultRecPeriod = 1.0 // MTS ring buffer defaults. - defaultMTSRBSize = 1000 - defaultMTSRBElementSize = 100000 + defaultMTSRBSize = 100 + defaultMTSRBElementSize = 300000 defaultMTSRBWriteTimeout = 5 // RTMP ring buffer defaults. - defaultRTMPRBSize = 1000 + defaultRTMPRBSize = 100 defaultRTMPRBElementSize = 300000 defaultRTMPRBWriteTimeout = 5 )