Skip to content

Commit

Permalink
Increase ProbeSize up to 5MB
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Nov 4, 2023
1 parent e42085a commit f4fe8c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/core/readbuffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import (
"io"
)

const ProbeSize = 1024 * 1024 // 1MB
// ProbeSize
// in my tests MPEG-TS 40Mbit/s 4K-video require more than 1MB for probe
const ProbeSize = 5 * 1024 * 1024 // 5MB

const (
BufferDisable = 0
Expand Down

0 comments on commit f4fe8c3

Please sign in to comment.