mirror of
https://github.com/aler9/gortsplib
synced 2025-10-08 00:20:05 +08:00
decrease tcp read buffer size
This commit is contained in:
@@ -43,7 +43,7 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
frame := &gortsplib.InterleavedFrame{Content: make([]byte, 0, 512*1024)}
|
||||
frame := &gortsplib.InterleavedFrame{Content: make([]byte, 0, 128*1024)}
|
||||
|
||||
for {
|
||||
frame.Content = frame.Content[:cap(frame.Content)]
|
||||
|
Reference in New Issue
Block a user