Fix buffer size for mpegts

This commit is contained in:
Alexey Khit
2023-05-04 11:49:38 +03:00
parent 03968d2f2e
commit d44efb84a0
+1 -1
View File
@@ -23,7 +23,7 @@ func NewClient(res *http.Response) *Client {
func (c *Client) Handle() error {
reader := NewReader()
b := make([]byte, 1024*1024*256) // 256K
b := make([]byte, 1024*256) // 256K
probe := core.NewProbe(c.medias == nil)
for probe == nil || probe.Active() {