mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-16 19:54:59 +00:00
fix removal of RTMP clients
This commit is contained in:
parent
a9385547ea
commit
b06d95eac4
@ -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…
Reference in New Issue
Block a user