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