mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 08:01:14 +08:00
server: fix compatibility with rtspclientsink and query parameters (bluenviron/mediamtx#3295) (#619)
This commit is contained in:
@@ -298,13 +298,21 @@ func TestServerRecordPath(t *testing.T) {
|
||||
"",
|
||||
},
|
||||
{
|
||||
"subpath and query",
|
||||
"subpath and query, ffmpeg format",
|
||||
"fff=ggg",
|
||||
"rtsp://localhost:8554/test/stream?testing=0",
|
||||
"rtsp://localhost:8554/test/stream?testing=0/fff=ggg",
|
||||
"/test/stream",
|
||||
"testing=0",
|
||||
},
|
||||
{
|
||||
"subpath and query, gstreamer format",
|
||||
"fff=ggg",
|
||||
"rtsp://localhost:8554/test/stream?testing=0",
|
||||
"rtsp://localhost:8554/test/stream/fff=ggg?testing=0",
|
||||
"/test/stream",
|
||||
"testing=0",
|
||||
},
|
||||
{
|
||||
"no path",
|
||||
"streamid=1",
|
||||
|
Reference in New Issue
Block a user