server: fix bug that prevents clients from receiving with multicast after all previous clients have disconnected

This commit is contained in:
aler9
2021-06-19 16:03:53 +02:00
parent 9595e298f8
commit eef21cc2b5

View File

@@ -148,6 +148,7 @@ func (st *ServerStream) readerRemove(ss *ServerSession) {
l.rtpListener.close()
l.rtcpListener.close()
}
st.multicastListeners = nil
}
}