From 05f79ddbe3c3c15c957c22dda623f8f170b9a121 Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Sun, 14 Jul 2019 05:59:55 +0000 Subject: [PATCH] revid: increase RtmpSender ring buffer size --- revid/senders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/senders.go b/revid/senders.go index 17fa7dc1..7ae3c769 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -280,7 +280,7 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg timeout: timeout, retries: retries, log: log, - ring: ring.NewBuffer(10, rbElementSize, 0), + ring: ring.NewBuffer(100, rbElementSize, 0), done: make(chan struct{}), } s.wg.Add(1)