From 3f9c73a612eaa20980944752e23ddf80e0ce5bfd Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 13 Mar 2018 19:05:28 +1030 Subject: [PATCH] Reducing mem requirements --- revid/RevidInstance.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index a5b2f816..30bf3430 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -59,12 +59,12 @@ const ( clipDuration = 1 // s mp2tPacketSize = 188 // MPEG-TS packet size mp2tMaxPackets = 2016 * clipDuration // # first multiple of 7 and 8 greater than 2000 - ringBufferSize = 10000 / clipDuration - ringBufferElementSize = 10000000 + ringBufferSize = 1000 / clipDuration + ringBufferElementSize = 100000 maxClipSize = 100000 httpTimeOut = 5 // s packetsPerFrame = 7 - h264BufferSize = 1000000 + h264BufferSize = 100000 bitrateTime = 60 mjpegParserInChanLen = 100000 ffmpegPath = "/home/saxon/bin/ffmpeg"