mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
detect when the connection with the server is closed when publishing with udp (#6)
This commit is contained in:
@@ -56,6 +56,7 @@ func main() {
|
||||
}(trackId)
|
||||
}
|
||||
|
||||
// wait until the connection is closed
|
||||
err = conn.LoopUDP()
|
||||
fmt.Println("connection is closed (%s)", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user