mirror of https://bitbucket.org/ausocean/av.git
revid: increase RtmpSender ring buffer size
This commit is contained in:
parent
e76b8b3800
commit
05f79ddbe3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue