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:
@@ -288,7 +288,7 @@ func TestServerRead(t *testing.T) {
|
||||
onSessionOpen: func(ss *ServerSession) {
|
||||
close(sessionOpened)
|
||||
},
|
||||
onSessionClose: func(ss *ServerSession) {
|
||||
onSessionClose: func(ss *ServerSession, err error) {
|
||||
close(sessionClosed)
|
||||
},
|
||||
onSetup: func(ctx *ServerHandlerOnSetupCtx) (*base.Response, error) {
|
||||
|
Reference in New Issue
Block a user