mirror of
https://github.com/aler9/gortsplib
synced 2025-09-29 04:22:22 +08:00
server: do not allow a connection to communicate with multiple sessions
This commit is contained in:
@@ -992,7 +992,8 @@ func TestServerErrorInvalidSession(t *testing.T) {
|
||||
Method: method,
|
||||
URL: mustParseURL("rtsp://localhost:8554/teststream"),
|
||||
Header: base.Header{
|
||||
"CSeq": base.HeaderValue{"1"},
|
||||
"CSeq": base.HeaderValue{"1"},
|
||||
"Session": base.HeaderValue{"ABC"},
|
||||
},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user