mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
parent
c055c13442
commit
c21c969a8c
10 changed files with 79 additions and 287 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue