Reducing mem requirements

This commit is contained in:
Unknown 2018-03-13 19:05:28 +10:30
parent e9f0fc9da7
commit 3f9c73a612
1 changed files with 3 additions and 3 deletions

View File

@ -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"