mirror of https://bitbucket.org/ausocean/av.git
Reducing mem requirements
This commit is contained in:
parent
e9f0fc9da7
commit
3f9c73a612
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue