mirror of
https://github.com/aler9/gortsplib
synced 2025-10-16 04:00:46 +08:00
@@ -138,6 +138,21 @@ var casesRequest = []struct {
|
||||
),
|
||||
},
|
||||
},
|
||||
{
|
||||
"server-side announce",
|
||||
[]byte("OPTIONS * RTSP/1.0\r\n" +
|
||||
"CSeq: 1\r\n" +
|
||||
"User-Agent: RDIPCamera\r\n" +
|
||||
"\r\n"),
|
||||
Request{
|
||||
Method: "OPTIONS",
|
||||
URL: nil,
|
||||
Header: Header{
|
||||
"CSeq": HeaderValue{"1"},
|
||||
"User-Agent": HeaderValue{"RDIPCamera"},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func TestRequestUnmarshal(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user