forked from External/mediamtx
rtmp: invert flag of InitializeServer() and InitializeClient()
This commit is contained in:
parent
f5a031d72c
commit
176f2f0729
5 changed files with 12 additions and 12 deletions
|
|
@ -79,7 +79,7 @@ func (s *rtmpSource) run(ctx context.Context) error {
|
|||
readDone <- func() error {
|
||||
nconn.SetReadDeadline(time.Now().Add(time.Duration(s.readTimeout)))
|
||||
nconn.SetWriteDeadline(time.Now().Add(time.Duration(s.writeTimeout)))
|
||||
err = conn.InitializeClient(u, true)
|
||||
err = conn.InitializeClient(u, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue