mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
server: fix bug that prevents clients from receiving with multicast after all previous clients have disconnected
This commit is contained in:
@@ -148,6 +148,7 @@ func (st *ServerStream) readerRemove(ss *ServerSession) {
|
||||
l.rtpListener.close()
|
||||
l.rtcpListener.close()
|
||||
}
|
||||
st.multicastListeners = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user