Merged in ring-buffer-defaults (pull request #276)

revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size

Approved-by: Alan Noble <anoble@gmail.com>
This commit is contained in:
Saxon Milton 2019-11-11 06:52:42 +00:00
commit 5f46ab793c
1 changed files with 3 additions and 3 deletions

View File

@ -147,12 +147,12 @@ const (
defaultRecPeriod = 1.0 defaultRecPeriod = 1.0
// MTS ring buffer defaults. // MTS ring buffer defaults.
defaultMTSRBSize = 1000 defaultMTSRBSize = 100
defaultMTSRBElementSize = 100000 defaultMTSRBElementSize = 300000
defaultMTSRBWriteTimeout = 5 defaultMTSRBWriteTimeout = 5
// RTMP ring buffer defaults. // RTMP ring buffer defaults.
defaultRTMPRBSize = 1000 defaultRTMPRBSize = 100
defaultRTMPRBElementSize = 300000 defaultRTMPRBElementSize = 300000
defaultRTMPRBWriteTimeout = 5 defaultRTMPRBWriteTimeout = 5
) )