revid: increase RtmpSender ring buffer size

This commit is contained in:
Saxon Milton 2019-07-14 05:59:55 +00:00
parent e76b8b3800
commit 05f79ddbe3
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg
timeout: timeout, timeout: timeout,
retries: retries, retries: retries,
log: log, log: log,
ring: ring.NewBuffer(10, rbElementSize, 0), ring: ring.NewBuffer(100, rbElementSize, 0),
done: make(chan struct{}), done: make(chan struct{}),
} }
s.wg.Add(1) s.wg.Add(1)