mirror of
https://github.com/aler9/gortsplib
synced 2025-10-10 17:40:28 +08:00
unexport ConnClientUdpListener.Close
This commit is contained in:
@@ -92,11 +92,7 @@ func main() {
|
||||
}
|
||||
|
||||
err = conn.LoopUdp(u)
|
||||
fmt.Println("connection is closed (%s)", err)
|
||||
|
||||
for _, lp := range listeners {
|
||||
lp.rtpl.Close()
|
||||
lp.rtcpl.Close()
|
||||
}
|
||||
conn.Close()
|
||||
wg.Wait()
|
||||
fmt.Println("connection is closed (%s)", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user