mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: add error to OnSessionClose()
This commit is contained in:
@@ -26,7 +26,7 @@ type ServerHandlerOnSessionOpen interface {
|
||||
|
||||
// ServerHandlerOnSessionClose can be implemented by a ServerHandler.
|
||||
type ServerHandlerOnSessionClose interface {
|
||||
OnSessionClose(*ServerSession)
|
||||
OnSessionClose(*ServerSession, error)
|
||||
}
|
||||
|
||||
// ServerHandlerOnRequest can be implemented by a ServerHandler.
|
||||
|
Reference in New Issue
Block a user