mirror of https://bitbucket.org/ausocean/av.git
Temporary fix: Make ringBufferSize size larger for RTMP to work over flaky networks.
This commit is contained in:
parent
b669d2645b
commit
8a13bb7007
|
@ -51,7 +51,7 @@ import (
|
||||||
|
|
||||||
// Ring buffer sizes and read/write timeouts.
|
// Ring buffer sizes and read/write timeouts.
|
||||||
const (
|
const (
|
||||||
ringBufferSize = 100
|
ringBufferSize = 1000
|
||||||
ringBufferElementSize = 150000
|
ringBufferElementSize = 150000
|
||||||
writeTimeout = 10 * time.Millisecond
|
writeTimeout = 10 * time.Millisecond
|
||||||
readTimeout = 10 * time.Millisecond
|
readTimeout = 10 * time.Millisecond
|
||||||
|
|
Loading…
Reference in New Issue