decrease tcp read buffer size

This commit is contained in:
aler9
2020-08-07 11:32:01 +02:00
parent 3b14ef755b
commit e4217cd9da
2 changed files with 3 additions and 2 deletions

View File

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