Temporary fix: Make ringBufferSize size larger for RTMP to work over flaky networks.

This commit is contained in:
Alan Noble 2019-02-27 05:53:49 +00:00
parent b669d2645b
commit 8a13bb7007
1 changed files with 1 additions and 1 deletions

View File

@ -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