mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 20:41:59 -08:00
fix removal of RTMP clients
This commit is contained in:
parent
a9385547ea
commit
b06d95eac4
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ func (c *Client) run() {
|
|||
if !c.conn.RConn.Publishing {
|
||||
c.conn.NConn.Close()
|
||||
c.log(logger.Info, "ERR: client is not publishing")
|
||||
|
||||
c.parent.OnClientClose(c)
|
||||
<-c.terminate
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue