This reverts commit 500d18b6c6.
This commit is contained in:
Alessandro Ros 2025-06-03 20:27:53 +02:00 committed by GitHub
parent c055c13442
commit c21c969a8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 79 additions and 287 deletions

View file

@ -41,7 +41,6 @@ type conn struct {
wg *sync.WaitGroup
nconn net.Conn
externalCmdPool *externalcmd.Pool
timeNow func() time.Time
pathManager serverPathManager
parent *Server
@ -260,8 +259,7 @@ func (c *conn) runPublish() error {
c.mutex.Unlock()
r := &rtmp.Reader{
Conn: c.rconn,
TimeNow: c.timeNow,
Conn: c.rconn,
}
err = r.Initialize()
if err != nil {