mirror of
https://github.com/aler9/gortsplib
synced 2025-10-26 16:50:32 +08:00
increase udp kernel read buffer size to minimize packet losses (https://github.com/aler9/rtsp-simple-server/issues/125)
This commit is contained in:
@@ -33,7 +33,6 @@ const (
|
||||
clientUDPCheckStreamPeriod = 5 * time.Second
|
||||
clientUDPKeepalivePeriod = 30 * time.Second
|
||||
clientTCPFrameReadBufferSize = 128 * 1024
|
||||
clientUDPFrameReadBufferSize = 2048
|
||||
)
|
||||
|
||||
type connClientState int
|
||||
|
||||
Reference in New Issue
Block a user