Code refactoring

This commit is contained in:
Alexey Khit
2023-08-28 22:43:07 +03:00
parent c6d5bb4eeb
commit d4444c6257
3 changed files with 6 additions and 6 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ import (
"io"
"github.com/AlexxIT/go2rtc/pkg/core"
"github.com/AlexxIT/go2rtc/pkg/tcp"
"github.com/pion/rtp"
)
@@ -46,7 +45,7 @@ func (c *Producer) Start() error {
mjpeg := c.Receivers[0]
for {
_, body, err := tcp.NextMultipart(c.reader)
_, body, err := Next(c.reader)
if err != nil {
return err
}