mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
This commit is contained in:
9
constants.go
Normal file
9
constants.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package gortsplib
|
||||
|
||||
const (
|
||||
tcpReadBufferSize = 4096
|
||||
tcpMaxFramePayloadSize = 60 * 1024 * 1024
|
||||
udpKernelReadBufferSize = 0x80000 // same size as GStreamer's rtspsrc
|
||||
udpReadBufferSize = 1472 // 1500 (UDP MTU) - 20 (IP header) - 8 (UDP header)
|
||||
multicastTTL = 16
|
||||
)
|
Reference in New Issue
Block a user