mirror of
https://github.com/aler9/gortsplib
synced 2025-10-08 08:30:06 +08:00
add UDPReadBufferSize option (#857)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package gortsplib
|
||||
|
||||
const (
|
||||
// same size as GStreamer's rtspsrc
|
||||
udpKernelReadBufferSize = 0x80000
|
||||
|
||||
// 1500 (UDP MTU) - 20 (IP header) - 8 (UDP header)
|
||||
udpMaxPayloadSize = 1472
|
||||
|
||||
|
Reference in New Issue
Block a user