mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +08:00
fix readers removal in examples (#26)
This commit is contained in:
@@ -287,6 +287,8 @@ func (ts *testServ) handleConn(conn *ServerConn) {
|
||||
if conn == ts.publisher {
|
||||
ts.publisher = nil
|
||||
ts.sdp = nil
|
||||
} else {
|
||||
delete(ts.readers, conn)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user